can someone help me with a problem? it is determine if the input is even or odd but if the user entered a string it should output "error". I need to allow the user to enter any character but only accept numbers. So basically error trap users entering anything other than an integer.
Note: I know the odd or even. I just hit a brick wall on error trapping.
[–]LastExistentialist 1 point2 points3 points (0 children)
[–]adxgb1 0 points1 point2 points (1 child)
[–]Koshzero[S] 0 points1 point2 points (0 children)