Hi there all, sorry but I'm completely new to Java. I started learning some Java on my own but I hit a little roadbump with if then statements. I am trying to be able to type in a number so that I can come out with one of the statements listed below (yea I know, they're funny but I'm just trying them out), but Java gives me a "operator is undefined" error.
The only problem according to eclipse is coming from the "if" line. "The operator > is undefined for the argument type(s) Scanner, int." What am I doing wrong?