WTF is wrong with my code?! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

WTF is wrong with my code?!

for(x = 0; x < 11; x++){ System.out.println(x);}

2nd Mar 2017, 4:40 PM
Wildman Fizat
Wildman Fizat - avatar
2 Answers
+ 11
Did you declare 'x'?
2nd Mar 2017, 4:45 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 9
What do you expect it to do?
2nd Mar 2017, 4:42 PM
Tashi N
Tashi N - avatar