Question: Write a program (In C++) to display the following two indicators: Enter a month (use 1 for Jan, etc.): Enter one day of the

Write a program (In C++) to display the following two indicators: Enter 


Write a program (In C++) to display the following two indicators: Enter a month (use 1 for Jan, etc.): Enter one day of the month: Have your program accept and store a number in the month variable in response to the first indicator, and accept and store a number in the day variable in response to the second indicator. If the entered month is not between 1 and 12 inclusive, print a message informing the user that an invalid month has been entered. If the day entered is not between 1 and 31, print a message informing the user that an invalid day has been entered.

Step by Step Solution

3.43 Rating (156 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a simple C program that fulfills the given requirements include int main Variables to store mo... View full answer

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 Programming Questions!