Computer Applications

Write down the syntax of:

(a) do - while

(b) while loop

Java Iterative Stmts

24 Likes

Answer

(a) do - while

do {
    //loop-body
} while (condition);

(b) while loop

while (condition) {
    //loop-body
}

Answered By

12 Likes


Related Questions