Project: Couting Days

The goal of this project is to write a program that counts the number of days between two dates. For the sake of simplicity, your program should only use the Gregorian calendar.

Project Requirements

Helpful Stuff

Wikipedia has a nice article on the gregorian calendar that explains the specifics of leap years. Once you have your program written, I recommend checking it against Wolfram Alpha.

For reading dates in from the user, the following command should work as long as you are ok with requiring the mm/dd/yyyy format.

:::c
scanf("%u/%u/%u", &month, &day, &year);

More information on the scanf function can be found here.