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 month:
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
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
