👉 Why this code is not working ??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 15

👉 Why this code is not working ???

edit ::: full code will be made soon //thanks to everyone for help 😊😊

5th Oct 2017, 5:07 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
11 Answers
+ 3
@Gaurav you had so many unnecessary spaces in your code. I copied to Eclipse and deleted all these spaces. It is working at Sololearn now. Copy your code below: https://code.sololearn.com/cS5rSXB7PxSW/#java
5th Oct 2017, 6:36 PM
Ferhat Sevim
Ferhat Sevim - avatar
+ 12
i am trying it to work in sololearn playground
5th Oct 2017, 5:24 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 12
thanks sir ferhat , u helped a lot ☺☺ /* i know it was having so many unnecessary space bcz the code was not completed , its just started //many things more to do more in it */
5th Oct 2017, 6:37 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 11
@martin , but it is showing " no output "each time i run //let me try again
5th Oct 2017, 5:36 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 9
thanks Armin ☺
6th Oct 2017, 9:12 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 5
Hello GAURAV AGRAWAL, can you test the AIR Project code and comment if you like it please ? I need help ;)
11th Oct 2017, 11:49 AM
Mattéo
+ 4
is this code working is your pc or laptop?
5th Oct 2017, 5:10 PM
Aditya
Aditya - avatar
+ 4
then I got the error if this code is working in your pc then the error is that sololearn doesn't support live outputs i.e it sends the codes and get the result and display in your screen but hear your output is working i.e live so it doesn't gets output
5th Oct 2017, 5:28 PM
Aditya
Aditya - avatar
+ 3
it is working on this platform i have tested it.
5th Oct 2017, 5:34 PM
Martin Matlwa
Martin Matlwa - avatar
+ 2
have you printed the time?
5th Oct 2017, 5:55 PM
Aditya
Aditya - avatar
+ 2
I removed your whitespace and it worked. What keyboard do you use? The whitespace wasn't really spaces. That's why it didn't work. Try only using the tab key and the space bar to insert space characters. Reference: https://code.sololearn.com/cHlYG6M23O3g
6th Oct 2017, 8:58 AM
Armin Linzbauer
Armin Linzbauer - avatar