A loop that can run indefinitely until it meets a conditions. Use while loop when number of repetitions is unknown.
It is almost the same as while. Use it when you know that you need to execute the loop at least once
int count=0; //initialize
} while (count<10); //test