Question: In, C++, write the function that follows void printCalendar(int month, int year); This function should take a given month and year, and print a monthly
In, C++, write the function that follows
void printCalendar(int month, int year);
This function should take a given month and year, and print a monthly calendar, ensuring that the month starts on the correct date.This program should factor in leap years. It is given that the January 1, 1500 is a Monday. The calendar should look as follows (using sept. 2017 as example):

Sun Mon Tue Wed Thu Fri Sat 2 4 6 13 20 27 7 14 21 28 9 16 23 30 8 10 17 24 12 19 26 15 18 25 29
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
