Page 1302 - AP Computer Science A, 7th edition
P. 1302

10. (D) After each execution of the loop body, n is divided by 2. Thus, the loop will produce output when n is 50, 25, 12, 6, 3, and 1. The final value of n will be 1 / 2, which is 0, and the test will fail.


































































































   1300   1301   1302   1303   1304