What is the use of WHILE loop?

What is the use of WHILE loop? Correct Answer To repeat the statement until any condition holds true

WHILE LOOP is repeated until a condition no longer holds. The condition is first tested and if it is found to be true then the loop iteration starts. With the end of iteration, the condition is again tested and the process continues until the condition is not false.

Related Questions

Which statement is correct among the mentioned statements? i. The for loop works faster than a while loop ii. for( ; ; )implements an infinite loop
In the context of while loop do while loop in C++, which of the following is not true?