Problem : Input Validation. In Raptor OR Java create a program that allows the user to enter a number and it does not accept the value of 0. The program should display an error message and prompt the user to enter the value again if value zero (0) is entered. The output of the program is "Good Job" when the non-zero value entered. Again, an error will be displayed if zero (0) value is entered instructing to enter a Non-Zero number, for Non-Zero number, the output "Good Job" will be displayed. You need to show both output for Error for Zero value instructing to re-enter a non-zero value and Good Job for non-zero value.
Explanation & Answer
Here are your Java code and the outputs. Please check the file and feel free to ask if somethi...