(Program) a. Write a program to display the following two prompts:
Have your program accept and store a number in the variable month in response to the first prompt and accept and store a number in the variable day in response to the second prompt. If the month entered isn’t between 1 and 12, display a message informing the user that an invalid month has been entered. If the day entered isn’t between 1 and 31, display a message informing the user that an invalid day has been entered.
b. What will your program do if the user enters a number with a decimal point for the month? How can you make sure your if statements check for an integer number?
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.