java code help pls
Go to solution
Solved by Strayuru,
Change:
String first = lukija.nextLine();
to
int first = lukija.nextInt();
and
if(first.equals(second)) {
to
if(first == second) {
And then try again, I haven't tested it.
-
Featured Topics
-
Topics
-
monkegoboomboom ·
Posted in General Discussion4 -
0
-
Elijah W ·
Posted in New Builds and Planning5 -
MS-DOS ·
Posted in Programs, Apps and Websites1 -
heckboi ·
Posted in Cases and Mods2 -
2
-
heckboi ·
Posted in Graphics Cards4 -
3
-
6
-
7
-
-
play_circle_filled
Latest From ShortCircuit:
Lian-Li, do this on all of your cases! - Lian-Li O11D x Lamborghini
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now