Updated my code with if statements for if the user does not input any data into the prompt box.