Enhance the current java program to handle the following two common user errors without termination:
1) the user enters an improper mode selection.
2) the user enters an improper data character.
In each case, the program needs to inform the user of the error and provide the user the opportunity to make a correct entry or to terminate program execution.
I know the deadline is not that long, but I was hoping that since I have uploaded the program that needs to be enhanced it would decrease the time needed to be done.