Question: Write a C++ program that uses nested loops statements to display the calendar of a month. The user should be prompted to input the number
Write a C++ program that uses nested loops statements to display the calendar of a month. The user should be prompted to input the number of a month (1- for January, 2- for February ) and the starting day of the month (1- for Monday, 2- for Tuesday ). i.e. if the user input 10 for the month number and 1 for the starting day the program should output the following: The User should be able to view the calendar of the next several months till he decides to stop
S M T W TH F S 1 2 9 10 11 7 8 14 15 21 22 5 12 13 19 20 26 27 16 17 18 23 24 25 28 29 30 31
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
