write a c++ program that would print a calendar. input month number from 1 to 12 only, number of the days in a month and the first day of the month from 1 to 7.
sample output
screen 1
input month number: 12
enter year: 2005
first day of the month: 4
2nd screen
Sun Mon Tue Wed Thu Fri Sat
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 29 30 31
(the 2nd screen should look like a CALENDAR but due to typing error th number are not align into the month)
2007-10-04
04:06:42
·
2 answers
·
asked by
dexie
1
in
Science & Mathematics
➔ Mathematics