Question: What is the output? int x = 8; while (x > 0) { System.out.printf(%d,x); x = x/2; }

What is the output? int x = 8; while (x > 0) { System.out.printf("%d",x); x = x/2; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
