If incorrect data is entered into any program, then inaccurate data will be produced by the program. It is the programmer’s job to restrict users so they can only enter valid data into the program.
Input Validation is when the computer checks the data that has been entered by the user is of the correct type and within the correct range. Input Validation uses a combination of a Boolean, a WHILE Loop with an IF Statement.
Input Validation is used in most programs to control the user’s inputs.