Question: Problem Statement: Write a program to print the respective month name based on the given input Input Format: Accept an integer as a input Output

Problem Statement:
Write a program to print the respective month name based on the given input
Input Format:
Accept an integer as a input
Output Format:
Print respective month or "Invalid" month names - January,February,March,April,May,June,July,August,September, October,November,December
Constraints:
1<= month_num <=10^15
Sample Input 1:
12
Sample Output 1:
December
Sample Input 2:
24
Sample Output 2:
Invalid

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!