Input validation is used to validate (check) input from the user. Either the data passes the test, or it fails, in which case the program keeps asking, until it receives a valid input.
A school register program needs the teacher to enter a password before it continues. The password is "SlinkyTHEtorTOIS3". Write a program to test that the password is valid before continuing.