Quiz outputting wrong code
My code asks the questions correctly and the ascii art like I want it to, but whenever it finishes asking the questions it starts printing out the answers to the questions at the top of the console. How do I prevent this?
1 Reply
you have two
if (retry == "yes")
in a row
you loop based on the variable passed
, but you never change it
the second if (retry ..)
doesn't have a return