+ 2
a do while loop executes a block of code once and checks the while condition. If its false, it runs again until true so...
num = 5
do {
SYS_OUT "PRINT THIS"
num = num - 1
}while num > 0
and
num = 4
do {
SYS_OUT "PRINT THIS"
num++
} while( num == 0)
Homework: how many times will PRINT THIS print on each loop?