Validation with IF statements

Using if statements to validate the prompts.