0

C# break lesson

Careful, a small mistake has crept in. The output is from 1 - 5 not to 4 as written in text.Cheers

11th Jan 2018, 4:28 PM
Karl Joehnck
Karl Joehnck - avatar
2 ответов
0
elaborate on the question. .
23rd Jan 2018, 8:31 PM
John
John - avatar
0
for(int I = 0;I <= 5;I++) { cw(I); } I think his talking about a common mistake where the programmer iterates through loop and forgets that it indexes from 0.
3rd May 2018, 11:59 PM
John
John - avatar