Using structures, write a program to determine the day of the week, given
a date. You can assume that January 1, 1984, was a Sunday. Remember to take
care of leap years. A year is a leap year if is divisible by 4, but if it
is also divisible by 100, it is not a leap year unless it is also divisible
by 400. So, 1900 is not a leap year, but 2000 is.
You do not have to worry about the dates prior to
1/1/1984. Thus, as long as your program works for the dates after 1/1/1984,
it's fine.. =)