[Challenge] Write a C++ program that should show one Month calendar. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

[Challenge] Write a C++ program that should show one Month calendar.

It's user based program. It should show user to enter month starting day. e.g: Means if user enters 2, then month should start from Tuesday and there will be empty space below Monday. If user enters 5, then month should start from Friday and respectively so on. And main thing is that it should skip to next line after Sunday.

21st Oct 2017, 8:28 AM
Wasim Mirani
Wasim Mirani - avatar
3 Answers
+ 4
https://code.sololearn.com/cJlF5W2YF26W/?ref=app I am unable to understand how you can print the calendar without the year. This one, will print the 'actual' calendar, like it would look for the month. I know, the output may not be as you wanted. But you haven't provided sample input for the same. Please provide one.
21st Oct 2017, 4:11 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 3
Check my C++ Program that generates Calendar. Link: https://code.sololearn.com/cV6hV2racWih/#cpp
17th Dec 2017, 1:37 PM
Ozodbek Kuchkarov
Ozodbek Kuchkarov - avatar
0
Is there any programmer , who Is gonna accept challenge?
21st Oct 2017, 9:48 AM
Wasim Mirani
Wasim Mirani - avatar