13th Jan 2024, 7:08 PM
Yaniv B
Yaniv B - avatar
5 Respostas
+ 5
1) You're missing the "public class" of your program. Open a new Java code in the code playground and see what's missing. 2) Remember that Sololearn's compiler is not real-time, so you'll need to think ahead and enter all of the input values on a new line when the prompt appears after you hit run; something like this: 1 22 3 4 quit 3) Check how you call your class Jol
13th Jan 2024, 8:28 PM
Ausgrindtube
Ausgrindtube - avatar
0
I tried even outside compiler its not working
13th Jan 2024, 11:06 PM
Yaniv B
Yaniv B - avatar
0
Can you update the code with my suggestions?
14th Jan 2024, 10:49 AM
Ausgrindtube
Ausgrindtube - avatar
14th Jan 2024, 10:51 AM
Yaniv B
Yaniv B - avatar
0
You're missing a bit of your code in this example. Check your first print statement.
14th Jan 2024, 4:14 PM
Ausgrindtube
Ausgrindtube - avatar