thinkcspy
thinkcspy copied to clipboard
CH 8.8.2 active code print glitch
The active code does not print appropriate feedback to student when anything other than y or n. The code is trying to tell the user the correct responses to insert, but it does not print until the code is done running, which is until the user either cancels or inserts y or n.
To recreate the problem, go to: https://runestone.academy/runestone/books/published/thinkcspy/MoreAboutIteration/SentinelValuesAndValidation.html ID: (ch07_validation) run the code and insert anything that is not y or n any number of times.
Input box needs to produce the appropriate feedback on input screen rather than the console. This can be done by rewriting the active code.