CALENDAR: Write a C++ program that takes two user inputs (int) m and y and print
ID: 3532499 • Letter: C
Question
CALENDAR: Write a C++ program that takes two user inputs (int) m and y and prints out the
monthly calendar for the mth month of year y. For example, if your inputs are 2 and 2009,
respectively, the output should be:
February 2009
S M Tu W Th 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
You should look up the formula to find day of year and whether a year is leap year.
Make sure whatever formula you use, you are not just copy-and-pasting from something
you have no idea about.
==
Please use visual C++ 2008 program to write the code. I found someone in chegg answered the problem by using printout instead of cout and #include <isysox> instead of #include <iostream>! So please make sure to use (visual c++ 2008) to write the code.
Explanation / Answer
Below you
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.