Computer Science, asked by yahyasufiyanrm, 1 month ago

write the syntax of do while loop​

Answers

Answered by BarshitSahuJi
1

Answer:

Initial values of loop control variable and other variables;

do

{

statement;

statement;

update statement;

}

while(test condition);

Explanation:

Example:-

int a=0;

do

{

a++;

System.out.println(a);

}

while(a<=4);

Similar questions