Computer Science, asked by umasankar0417, 6 months ago

What is the output of this program?
class Test{
public static void main(String args[])
{
int var = 20, i=0;
do
while(true)
if( i++ > var) break;
}while(i<var);
System.out.println(var);
}}​

Answers

Answered by chakladershreyasi
0

Answer:

10 and 66 is the output

hope it helps you ❣️ follow me

Attachments:
Similar questions