
-----------------------------------
zaross
Tue Oct 01, 2019 2:49 pm

im making a quiz
-----------------------------------




I want to make the program either restart or stop when the user gets to many wrong answers



what is the problem you are having? 







turing version


-----------------------------------
freshHeir
Wed Nov 13, 2019 9:04 am

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
Thu Nov 14, 2019 10:06 am

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.

Yes, please do this it is a lot more readable too.
