Computer Science, asked by sailo10, 10 months ago

what are endless loops​

Answers

Answered by aishanilimaye
6

Answer:The loops which do not terminate and keep on executing are known as infinite loops.

Explanation:

They can occur in the absence of a terminating condition. For example-

Dim n,i as integer

n=1

For i = 1 to n

print i

n=n+1

next i

Here, since the value of n keeps increasing the loop will not terminate and keep on going.

Answered by Anonymous
7

Answer:

Alternatively refers to as an infinite loop or continuous loop , an endless loop is continuous repetition of a program segment .

For example = When creating a batch file , an endless loop can be created by using the GOTO statement that refers back to the beginning of the loop.

Hope it helps you.....

if helps mark me as a brainliest answer.......

Similar questions