Display number of days in a month using switch statement

Display number of days in a month using switch statement

Input:

Enter the month:3


Output:

Number of days = 31


Implementation: