Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program that generates the calendar of a desired month. The program must

ID: 3633039 • Letter: W

Question

Write a program that generates the calendar of a desired month. The program must do the following:
1. Asks the user for the number of days of the desired month.
2. Asks the user for the day of the week (an integer between 0 and 6) of the first day of the desired
month.
3. Print the calendar of the desired month.
For example (user input is in green):
Type in the number of days in the month (0-31)30
Which day of the week does the month start? (0-6)2
S M T W Th F S
01 02 03 04 05
06 07 08 09 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30

Explanation / Answer

#include #include #include using namespace std; int space; int day[13]={0,5,1,1,4,6,2,4,0,3,5,1,3}; int date; int month; int main () { ofstream out; string name; string temp; space=0; coutname; for(int i=0; i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote