Computer Science, asked by avantikaavantip37ijp, 1 year ago

How many times the following loop will be executed :
int i = 0;
do
{
System.out.println(i);
i + +;
} while (i <5)

Answers

Answered by ashmitkumar2
4
Syntax: [initial value]
WHILE [condition]
Executable statement
[ Step to increment or decrement]
WEND

avantikaavantip37ijp: did you play coc
ashmitkumar2: coc means
avantikaavantip37ijp: clash of clans
ashmitkumar2: yes
avantikaavantip37ijp: i also play
ashmitkumar2: ok
ashmitkumar2: my answer is right i done again
avantikaavantip37ijp: thanks a lot
ashmitkumar2: most welcome
ashmitkumar2: it my pleasure yarr
Similar questions