Write and exercise a program that allows the user to compute the number of days that
elapse between two dates.
Examples:
There is 1 day between 6/7/1954 and 6/8/1954
There are 366 days between 1/1/1996 and 1/1/1997
There are 35107 days between 1/1/1900 and 2/14/1996
There are 20098 days between 3/3/1941 and 3/12/1996
There are 729116 days between 1/1/0000 and 4/2/1996
You need to research leap years and design an equation that can determine which years are leap years. Hint: They don't always occur every 4 years but you can figure that out with a google search.
You need some tables for each month so that you can quickly determine numbers of days in each month. You need to determine number of whole years within the difference of the two dates (if any) and then determine number of partial years. For partial years you'll need the aforementioned lookup table to determine how many days have passed in the partial years.