❔ My code repeats my menu everytime a invalid character is added - i want to display a error message
My menu works but I want to display a error message if the user enters a invalid character.
I was thinking of adding a else statement but that would just display Invalid try again even if it is right aswell. I'm unsure where to put this in a repeating while loop
https://github.com/AbdulRaheemNazir/Mini-Apps-Working/blob/main/Menu%20Help
Code here
2 Replies