I want to make a little program where when the user is prompted, they can enter a password and receive one of two answers- Correct or Incorrect.
When I say my error message is "incompatible operand types Scanner and int".
Here is my code:
Does anyone have any suggestions?
P.S. I'm new to the language, just started today so simple terms please!
-Thanks
When I say my error message is "incompatible operand types Scanner and int".
Here is my code:
Does anyone have any suggestions?
P.S. I'm new to the language, just started today so simple terms please!
-Thanks