how many times loop will execute between 10,50,5
Answers
Answered by
2
Explanation:
In Loop, the statement needs to be written only once and the loop will be executed 10 times as shown below. In computer programming, a loop is a sequence of instructions that is repeated until a certain condition is reached.
Answered by
0
Explanation:
But, in fact, the loop body does execute once, printing count , and then changes it to 1001 before the test is performed. This might be a serious bug. The body of a do loop is always executed at least once. Almost always there are situations where a loop body should not execute, not even once.
Hope it helps you...!
Similar questions