0

What is wrong with my code it doesnt work

I nees the scanner to work to compare number https://code.sololearn.com/c0hZLNjJoD26/?ref=app

17th Sep 2022, 12:27 PM
great Nile
3 Respuestas
+ 1
public class Program { import Java.Util.*; Class UserInputDemo First 3 lines itself is wrong way. important statements must be on top first lines of program, outside class.. Correct way : import java.util.*; // small u public class Program { // Class UserInputDemo => invalid.
17th Sep 2022, 12:34 PM
Jayakrishna 🇮🇳
+ 1
Jayakrishna🇮🇳 im sorry it still doesnt work im a new in coding can you help me https://code.sololearn.com/c0hZLNjJoD26/?ref=app
17th Sep 2022, 1:15 PM
great Nile
+ 1
Pay attention to each lines, words, characters in my correct way code. // correct way is : import java.util.*; public class Program { but You are using capital J in Java. Wrong, it must be java.util.*; look use small j, and u .. And Class UserInputDemo invalid, no need statement. Remove it.
17th Sep 2022, 2:03 PM
Jayakrishna 🇮🇳