Question: Using shell script , given a month and the day of the week that's the first of that month, print a calendar for the month.
Using shell script , given a month and the day of the week that's the first of that month, print a calendar for the month. (Remember, number of days in months is different and use to go to a new line.)
For example:

Enter number of days in a month: 30 Enter starting day of the month (1=SUN): 1 Sun Mon Tue Wed Thu Fri Sat 1 8 15 22 2 3 4 5 6 7 9 10 11 12 13 14 16 17 18 19 20 21 23 24 25 26 27 28 30 31 29 30
Step by Step Solution
There are 3 Steps involved in it
To create a shell script that prints a calendar for a ... View full answer
Get step-by-step solutions from verified subject matter experts
