adding a prompt to an if statement

adding a prompt to an if statement