The while loop is used when the number of execution of a block of code is not known. It will execute as long as the condition is true.
The while loop is used when the number of execution of a block of code is not known. It will execute as long as the condition is true.