Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

A ( n ) is an instance of a class. object program method data

Answered: 1 week ago

Question

Why do living creatures die? Can it be proved that they are reborn?

Answered: 1 week ago

Question

Create a workflow analysis.

Answered: 1 week ago