Is there an error with this question? | Sololearn: Learn to code for FREE!
+ 1

Is there an error with this question?

This question states that I have the right entries, but the answer is incorrect. Eg. [ for(int x = 0; x <=20; x=+2) Cout << x << endl;

7th Apr 2017, 5:43 PM
Nathan
Nathan - avatar
2 Answers
+ 7
It should be x+=2.
7th Apr 2017, 5:45 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
0
missing "{}"
10th Apr 2017, 12:35 PM
Vincent William Rodriguez
Vincent William Rodriguez - avatar