give reasons
1) for (i=10;i<1;i=i-1) is an infinite loop
Answers
Answered by
0
Answer:
it is a wrong loop
Explanation:
value of i is 10 and the condition is that i should be smaller than 1 and 10 is not smaller than 1 so, the computer will terminate the loop
Similar questions