Question: How do I do this in C program without using list? CS 159 - HW #04 Due: Monday March 15, 2021 at 11:00pm (time local

How do I do this in C program without using list?
CS 159 - HW #04 Due: Monday March 15, 2021 at 11:00pm (time local to West Lafayette, IN). 10 Points Possible Problem: Given as input the year, day of the week number (0 [Sunday] through 6 [Saturday]), and occurrence number, determine the corresponding date. On page 300 of your C programming text there are several useful formulas given as part of problem 60. All input will be integer data and your program will only be tested with years from 1800 to 2100. Example Execution #1: Enter year number -> 2021 Enter day of week number -> 1 Enter occurrence number -> 11 Desired occurrence #11 of Monday in 2021: March 15 Example Execution #2: Enter year number -> 2020 Enter day of week number -> 6 Enter occurrence number -> 9 Desired occurrence #9 of Saturday in 2020: February 29 Example Execution #3: Enter year number -> 2021 Enter day of week number -> 5 Enter occurrence number -> 1 Desired occurrence #1 of Friday in 2021: January 1 Example Execution #4: Enter year number -> 2020 Enter day of week number -> 4 Enter occurrence number -> 53 Desired occurrence #53 of Thursday in 2020: December 31
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
