Write a program to determine the number of days between any two dates from July
ID: 3621233 • Letter: W
Question
Write a program to determine the number of days between any two dates from
July 4, 1776 until now. Inclusive. You must ensure that the user enters valid dates.
This means a valid year, a valid month, and a valid day of the month.
Your program should then start at the beginning date (which must not be after
the ending date), and count each day until the ending date.
The program should print out the Month and Year as it counts (NB: not the day).
If you count a February that is in a leap year, note that in the output.
The final output will be two items: the number of days and the number of leap years
between the dates.