I've been programming for about a week now and I'm just learning if statements now
I made a simple program that asks the user for a number input (1-4) and depending on what they input it will add/subtract/multiply/divide 2 numbers they enter after they decide what operation they want to perform.
I made an if statement that says if the number is not equal to 1, 2, 3, 4, then it gives an error message and then asks them to re enter their choice (1-4)
However I'm not sure how to redirect the program back to the start of the code after this this way it doesn't just end after the number is re-entered.
I appreciate any help, thanks keep in mind I'm a noob at this :D