A-A+

下列程序执行的结果是______。 public class exl3 { public s

2022-08-05 21:24:13 问答库 阅读 172 次

问题详情

下列程序执行的结果是______。 public class exl3 { public static void main(String[] args) { int a=100,b=4; do{ a/=b; }while (a>10&&b++<10); System. out. println (a); } }
A.12
B.6
C.24
D.5请帮忙给出正确答案和分析,谢谢!

参考答案

正确答案:D

考点:程序