So. I have this small project for a school class. We are writing a simple driving quiz type program using if statements and switch statements and loops.
I initially tested this with the "green_option", but when I added the "amber_option" and "red_option" to the mix it doesn't work as intended.
The green option is working as intended, but when I answer the amber_option or the red_option, ANY input puts the program in to an infinite loop.
I have been looking and looking, but I cannot find where it is going wrong.