4. Under what condition, will you get an infinite while loop?
Answers
Answered by
7
Answer:
A common infinite loop occurs when the condition of the while statement is set to true . Below is an example of code that will run forever. It is not necessary to test any infinite loops. An infinite loop will run forever, but the program can be terminated with the break keyword.
Explanation:
hope it helped yuh
mark me as brainliest
gud day :)
Answered by
9
Answer:
Infinite Loops
A common infinite loop occurs when the condition of the while statement is set to true . Below is an example of code that will run forever. It is not necessary to test any infinite loops. An infinite loop will run forever, but the program can be terminated with the break keyword
Similar questions