Why i think this loop should be to 10 20 40 50 to finished! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Why i think this loop should be to 10 20 40 50 to finished!

Because when x==40,X<=40,x=x+10,then output 50,then goback test false! Stop!

2nd Jan 2017, 2:13 PM
YE SHENGMING
2 Answers
+ 1
The second x it is a uppercase
2nd Jan 2017, 2:15 PM
François
+ 1
@Francios ,hi man it's not a syntax, i just show the question !the strict that i should write "for"syntax ,also use sign operator and semicolon! Not just a upercase wrong!
2nd Jan 2017, 7:38 PM
YE SHENGMING