Question: help needed write a program to the following problem in C or C++ Use Zellers rule (http://mathforum.org/dr.math/faq/faq.calendar.html) to determine the day-of-the-week for any date. Your

help needed

write a program to the following problem in C or C++

Use Zellers rule (http://mathforum.org/dr.math/faq/faq.calendar.html) to determine the day-of-the-week for any date. Your program should request the numerical date and print the number of the day-of-the-week, as follows:

Enter the month (use a number from 1 to 12): 1

Enter the day of the month: 29

Enter the 4-digit year: 2064

1/29/2064 will be day 2 of the week. (Sunday is day 0 of the week).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!