+ 1

how to repeat a program using do while loop?

24th Oct 2020, 3:10 PM
ramandeep kaur
3 Réponses
+ 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
24th Oct 2020, 3:16 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
0
Repeat the whole program or some parts of it? do...while loop is covered in the lesson. Maybe take a review on it?
24th Oct 2020, 3:18 PM
Ipang
0
repeat whole program
24th Oct 2020, 3:47 PM
ramandeep kaur