What output is produced by the following Java program? Write the output in the box on the right side.
public class OddStuff {
public static void main(String[] args) {
int number = 32;
for (int count = 1; count <= number; count++) {
System.out.println(number);
number = number / 2;
}
}
}
|
Output: 32 16 8 4 |