In programing language we use while loop to iterate over a block of code as long as the test expression (condition) is true. When the condition becomes false, the line immediately after the loop in the program is executed.
In programing language we use while loop to iterate over a block of code as long as the test expression (condition) is true. When the condition becomes false, the line immediately after the loop in the program is executed.