Computer Science, asked by akirasethi, 1 year ago

What is difference between finite and infinite loop in qbasic

Answers

Answered by HarshdeepISGREAT
36
finite loop has a limit , it stops after a specified number of times.
infinite loop is limitless it never stops until we stops our program

(are you using basic 256)

Answered by AskewTronics
9

The finite loop runs in specific times, but the infinite loop did not stop until the ending of the memory.

Explanation:

  • Finite loop: In any language, The finite loop is a loop that stopped at a specific time. It stops when the condition is false. Every loop is made of three things-- a value which needs to start the loop, an operation which lets the condition variable to false the condition and the condition statement.
  • Infinite loop: Infinite loop runs on an infinite time when the condition is not false in any iteration of the loop. The loop is used to repeat some lines on a specific time in which time is specified by the condition of the loop. The loop runs in infinite times if the loop condition is not false in any iteration of the loop.

Learn More:

  • Loop : https://brainly.in/question/6280215
Similar questions