Question: Write a program that asks the user for a month as a number between 1 and 1 2 and displays which quarter this month is

Write a program that asks the user for a month as a number between 1 and 12 and displays which quarter this month is in.
Based on the number input by the user, the program should display the following messages:
Input Month Output Message
1 to 3 first quarter
4 to 6 second quarter
7 to 9 third quarter
10 to 12 fourth quarter
Any other value error
Instructions
Be sure that the output you display matches the output message.
 Write a program that asks the user for a month as

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!