The program generates a calendar for one year. The program only asks for the day on which 1st January falls from user.
Notes :
- Compiler - Turbo C++ 4.5
- Leap year has been considered
- The only reason for including
conio.h
is because ofclrscr()
. If somebody can give me a one-line alternative, I would be happy to modify the code - The user can either view a particular month or the whole year
- Error handling has not been implemented (feeling lazy :yawn:)
Please don't flame me for using global variables. I don't know about the problems of global variables so enlighten me :P
PM me if you find any bugs or if you think it can be improved