Many programs take input from a user and then validate it before it is processed. It is important that the messages to the user are appropriate to reduce the risk of invalid data being entered.