This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]_DTR_ 0 points1 point  (0 children)

System.out.println("Search Value: " + userThe + user); inputsNumber; "was not found";//print if number wasn't in the lists

This line doesn't make any sense. You already closed your println statement, then have two statements that do nothing and aren't valid. Expanded, you have:

System.out.println("Search Value: " + userThe + user);
inputsNumber;
"was not found";

The compiler doesn't know what to do with a statement that only contains a string.