Saved Bookmarks
| 1. |
How many times are the following loop bodies repeated? What is the final output in each case?i. int x = 1;while (x < 10)if (x % 2 == 0)System.out.println(x);ii. int y = 1;while (y < 10)if (y % 2 == 0)System.out.println(y++);iii. int z = 1;while (z < 10)if ((z++) % 2 == 0)System.out.println(z); |
|
Answer» Catalog Name:*Colorful CLEANING Gloves* MATERIAL: Rubber Size: Free Size Dispatch: 2-3 Days |
|