h5ex2: Arrays and functions

h5ex2: Arrays and functions

You cannot submit for this problem because the homework's deadline is due.

Description

Write a function which takes as input a month, and the name of the first day of the month. It should display the calendar for the requested month.

Format

Files

You should submit a tar file containing a c source file ex2.c

Input

one line with one integer and the three first letters of a day

Output

similar to the sample output below

Sample 1

Input

6 Fri

Output

June
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  30

Limitation

1s, 32MiB for each test case.

Assignment 5

Not Claimed
Status
Finished
Problems
4
Open Since
2018-06-21 00:00
DDL
2018-06-28 14:00
Extension
240.0 hour(s)