Question: task: write a 6-8 line algorithm for a program that accomplishes the following The program asks the user to input a numeric year, month,

task: write a 6-8 line algorithm for a program that accomplishes the

 

task: write a 6-8 line algorithm for a program that accomplishes the following The program asks the user to input a numeric year, month, and day. The program then says what day of the week it was on that date. The program should give the user an error message if the year is greater than 2023, if the month is greater than 12, or if the numeric day value is not valid. You can assume all inputs are integers.

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 Programming Questions!