PLEASE WRITE IN C.
Write a program calendar.c that takes two inputs: the start day of a month [Sunday is 0, Monday is 1,....., Saturday is 6] and the number of days in a month.
Your program must output any calendar month in a year. A sample input and output is shown below: (20 points)
Input: start day: 2; number of days in the month: 29
Sample Output:
Sun Mon Tue Wed Thu Fri Sat
----- ----- ----- ----- ----- ----- -----
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
----- ----- ----- ----- ----- ----- -----