What do these loops print? a. int i = 0; int j = 10; while (i <

Question:

What do these loops print?


a. int i = 0; int j = 10;
while (i < j) { System.out.println(i + " " + j); i++; j--; }
b. int i = 0; int j = 10;
while (i < j) { System.out.println(i + j); i++; j++; }

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: