Why is my code not working | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
9 Answers
+ 5
I see spelling mistakes, misplaced brackets {} , Variable declared twice, Variable referenced before being declared or assigned.
26th Jul 2020, 4:29 AM
JME
+ 2
1.)At line no. 6 the 'S' of Scanner must be in capital. 2.) At line 7 and 11 correct the syntax of "System.out.println()", remove the extra spaces. 3.)instead of closing the outer for loop(line 19) at line 39, you should close it at line 35.
26th Jul 2020, 6:19 AM
Smriti Kaur
Smriti Kaur - avatar
+ 1
JME what's wrong with line 19 ¿¿
26th Jul 2020, 4:59 AM
Swaraj Singh
Swaraj Singh - avatar
+ 1
The } at the end of line 14
26th Jul 2020, 5:44 AM
JME
+ 1
JME now ¿¿
26th Jul 2020, 6:03 AM
Swaraj Singh
Swaraj Singh - avatar
+ 1
Smriti Kaur now ¿¿
26th Jul 2020, 7:40 AM
Swaraj Singh
Swaraj Singh - avatar
+ 1
now
26th Jul 2020, 1:57 PM
Zulfian S.A
Zulfian S.A - avatar
+ 1
Some mistakes, Misplaced brackets {} , Variable declared twice,
27th Jul 2020, 4:01 PM
Paras Srivastava
Paras Srivastava - avatar
+ 1
27th Jul 2020, 4:17 PM
Swaraj Singh
Swaraj Singh - avatar