Assignment 5:

          Weight : 30
      Due Date:  March 23,1999

- Make C Source and output into one file and upload to your HUxx account in MUSICB.

- E-MAIL that file to HUAE on MUSICB from your HUxx account.

This assignment has to be done in C.

 
1. Input ANY date, as the order of year, month, day, such as 19990201, please calculate which day it is of that year.
(among 365 or 366 days)
 
Ex: 19990201 is the 32nd day of the year.
 
2. Input ANY two dates, please calculate there are how many days between them.
 
Ex: 18010101 and 18020101, there are 365 days between them.
 
**Please pay attentation to the leap year.