Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started