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
0
Answer:
10 and 66 is the output
hope it helps you ❣️ follow me
Attachments:
Similar questions
Social Sciences,
3 months ago
Hindi,
3 months ago
Science,
3 months ago
English,
6 months ago
Math,
10 months ago