Question: Code this using CPP as simple as possible. no advanced methods please. 7. Calendar Printing Assuming we know that January 1, 2000 was a Saturday,
Code this using CPP as simple as possible. no advanced methods please.

7. Calendar Printing Assuming we know that January 1, 2000 was a Saturday, write a program that takes in a month and a year (as integers), and prints a calendar for that month. Sample Input/Output Input: 2 2019 Output: February 2019 S M T W T F S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Hints: To check if a year is a leap year, the following must hold true: ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
