Computer Science, asked by sangamithraks2193, 10 months ago

Analyze how many times the following loops gets executed and write the output ii. int i; for (i = 50; i >= 10; i -= 10) System.out.println(i); System.out.println(++i*10);

Answers

Answered by Anonymous
0

Answer:

class Test {

public

static void main(String[] args)

{

int i = 0, j = 9;

do {

i++;

if (j-- < i++) {

break;

}

} while (i < 5);

System.out.println(i + "" + j);

}

}

Similar questions