+ 1
how to repeat a program using do while loop?
3 Answers
+ 6
The while loop loops through a block of code as long as a specified condition is True:
while (condition)
{
// code block to be executed
}
more info: https://www.w3schools.com/cs/cs_while_loop.as
0
Repeat the whole program or some parts of it?
do...while loop is covered in the lesson. Maybe take a review on it?
0
repeat whole program