int age=20;
do
{
age++;
}while(age<20);
System.out.println(age);
Answers
Answered by
3
Answer:
the answer of this question is 21
Explanation:
plzz bhaiyo or meri bheno follow me I will follow back and plzz mark my answer as brainliest
Answered by
0
Answer:
21
To Find:
int age=20;
do
{
age++;
}
while(age<20);
Explanation:
- Here age is 20 then it becomes 21 and this results in loop being terminated as while condition becomes false .
- So the print statement is executed and 21 is printed as the output
Similar questions
Hindi,
3 months ago
English,
3 months ago
Computer Science,
6 months ago
Art,
6 months ago
English,
11 months ago
Political Science,
11 months ago