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.
There might be red herrings. Use the blocks you think you need.
A program asks the user to rate their purchase from 1 to 5 stars. Complete the part of the program that makes sure their rating is between 1 and 5 (inclusive).