Now the code requires the user to enter "Y" or "y" to continue or "N" or "n" to end. If the user enters a different string the code would give them an invalid entry error and ask them for their choice again until they don't pick a choice which is valid.
Now the code requires the user to enter "Y" or "y" to continue or "N" or "n" to end. If the user enters a different string the code would give them an invalid entry error and ask them for their choice again until they don't pick a choice which is valid.