0
why answer is 6 not 5
2 Antworten
0
The variable is incremented AFTER it is checked. Since 5 < 6 is true, the code continues to the next line. The next line increments the variable up from 5 to six. The loop then ends and you have 6.
- 1
Is "O"not 0