Quote (Eep @ Oct 22 2015 08:09pm)
is that the EXACT code? line by line?
If not, you need to post ALL of the code, exactly as it appears in your source. Also, make sure to use code tags for formatting and readability
Code
this is a code tag
That's part of the code, I didn't want to post all of it and make it look complicated for you guys, but yes carteblanche gave me the answer thank you. And yea next time I'll use the quote format thanks.
Quote (carteblanche @ Oct 22 2015 08:39pm)
i assume those are strings. use .equals instead of ==
== works ok when comparing literals, but reading input from keyboard isn't a literal.
Thank you!