if a loop doesn't terminate it is called an_loop
Answers
Answered by
4
Answer:
If a loop doesn't terminate it is called an infinity loop
Answered by
0
Answer:
We often need to repeat actions.
For example, outputting goods from a list one after another or just running the same code for each number from 1 to 10.
Loops are a way to repeat the same code multiple times.
Explanation:
If you did not, i would always be equal to 1 , the condition would always be true, and your program would never terminate – we call this an infinite loop. Whenever you write a while loop, make sure that the variable you use in your condition is updated inside the loop body!
Similar questions