write a program that prints out a calendar for a full year between 1900-2500 Jan
ID: 3635435 • Letter: W
Question
write a program that prints out a calendar for a full year between 1900-2500January 1994
Su Mo Tu We Th Fr Sa
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
void greetings()
printf("Cal assignment");
int getYear()
int y
printf(" enter between 1900 and 2500 ");
scanf("%d, &y);
if(y>=1900 && (y<=2500)
return y;
else
exit(1);
int printCalendar1()
this function is supposed to be for the leap year
int printCalendar2()
(this function is supposed to be for the normal year