How to print a calender in c++? if only year is given. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to print a calender in c++? if only year is given.

3rd Sep 2016, 7:51 AM
ASHISH RAKESH
ASHISH RAKESH - avatar
1 Answer
0
i dont think you could print a calendar year from a year. you would have to map out the year and then display the information. im assuming you are saying print as in cout not like print to paper. the other thing you could do is read a calendar file and cout the information. im still learning c++ but thats how i would do it in python.
14th Sep 2016, 7:25 PM
Zak Vogt
Zak Vogt - avatar