Question: A program that asks the user to enter their birth month (integer 1 - 12 inclusive). If the user enters a value in range, the
A program that asks the user to enter their birth month (integer 1 - 12 inclusive). If the user enters a value in range, the program echoes the input ("Your birth month is: N") If the value is not in the range it outputs an error msg ("You entered an incorrect month value: N). Here N should be the value they entered. Test runs: (insert the output widow copies here for the test runs - valid input in range 112 - invalid input out of range
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
