Hello, I have been making a number guessing game for a homework assignment, and so far it works wonderfully. However, I have been having a problem in regards to bool retry(). Simply put, the bool asks for an input twice, whether you wish to repeat the game or not, and the second input is the one which is accepted (i.e entering "y, n" is the same as entering "n, n", and entering "n, y" is the same as entering "y, y"). Is there any way to fix this?
Turns out the answer was to remove all standalone retry() calls, so that answers things.
As for the goto thing, while I do agree I should not be using it (it does get a bit complicated after a while), it does help in certain situations throughout the code where it simply would not work otherwise (like failsafe calls in order to create a valid answer)