Are you asking if the user can enter: 3.4 + 7 and then press Enter?
Have you tried it?
I see that the code still does NOT show the value of the input that caused the error message to be printed.
Type: Posts; User: Norm
Are you asking if the user can enter: 3.4 + 7 and then press Enter?
Have you tried it?
I see that the code still does NOT show the value of the input that caused the error message to be printed.
A suggestion: Add the value of the variable that caused the default: case to be executed to the error message so you can see what the computer saw and understand what the code is doing.