Problem
Write a data validation loop that prompts the user and gets a value of type Month_Type (as declared in Exam Preparation Exercise 4). Use an exception handler to ensure that the program does not exit the loop until a valid month has been entered. Include the instantiation of the enumeration I/O package in your answer.
Exercise 4
Write a program segment that displays the last character on every line of input.