Write a complete program that determine the day number (1to 366) in a 
year for a date that is provided as input in the format dd-mm-yyyy  as 
an example 01-01-2000 is day 1.31-12-2001 is the day 365.31-12-2000 is 
day 366 because 2000 is leap year. A year is leap year if it is 
divisible by 4. You may assume that user has entered input in the 
correct format that is valid date.

Reply via email to