+ 1

While Loop code isn't optimal in the Second question

So in the basic stuff section we learn about the ++ operator. Why does the code question have you answer the suboptimal x=x+1 instead of having us do x++ since we know the ++ operator exists?

30th Oct 2017, 9:28 PM
Michael Holmblad
Michael Holmblad - avatar
1 Respuesta