I am a noob therefore this question is hopefully very easy for someone to answer!
in my code i have asked a question if the answer is yes i want the program to continue onto the next question (this is fine) if however the answer no or enter an incorrect answer then i wasn the program to end! i know about if statements so i am ok with that i just need the line of code i put in the no if statement or the else to make the program finish.
i hope this is clear thank you for any cooperation