Posted: Wed Nov 13, 2019 9:04 am Post subject: Re: im making a quiz
What you could do in this case is have a variable that tracks the number of incorrect responses, and for each question, check if that variable has exceeded a certain amount. If so, stop the program.
Styx
Posted: Thu Nov 14, 2019 10:06 am Post subject: Re: im making a quiz
freshHeir @ Wed Nov 13, 2019 9:04 am wrote:
What you could do in this case is have a variable that tracks the number of incorrect responses, and for each question, check if that variable has exceeded a certain amount. If so, stop the program.
Yes, please do this it is a lot more readable too.