/*Starting day is to be adjusted under the respective day*/
printf (“\n\n\n");
printf ("\t\t\tMonth - %d - 2001\n\n",m);
printf (u SUN MON TUE WED THU FRI SAT\n\n");
switch (a)
I
case 1 :
printf r\t%d",i);
break;
case 2 :
printf r\t\t%d",i);
break;
case 3 :
printf (“\t\t\t%d",i);
break;
case 4 :
printf ("\t\t\t\t%d",in
break;
case 5:
printf ("\t\t\t\t\t%d",i);.
break;
case 6:
printf("\ t\t\t\t\t\t%d",i);
break;
case 7 :
printf ("\ t\t\t\t\t\ t\t%d",i);
break;
/
h=8-a; /* The starting day is subtracted from 8 */
112 Programmin
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.