Question: Consider the following Loop: int x = 120; while(x % 3 != 0) { System.out.println(x * 4); } System.out.println(x is +x); SELECT THE CORRECT NUMBER
Consider the following Loop: int x = 120; while(x % 3 != 0) { System.out.println(x * 4); } System.out.println("x is "+x); SELECT THE CORRECT NUMBER OF ITERATIONS AND THE CORRECT OUTPUT.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
