网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
intx=0;inty10;do{y--;++x;}while(x<5);System.out.print(x+,+y);Whatistheresult?()
A.5,6
B.5,5
C.6,5
D.6,6
参考答案
更多 “ intx=0;inty10;do{y--;++x;}while(x5);System.out.print(x+,+y);Whatistheresult?() A.5,6B.5,5C.6,5D.6,6 ” 相关考题
考题
int x=0;int y=10;do{l3.y--;++x;}while(x5);System.out.print(x+,+y);What is the result?()
A.5,6B.5,5C.6,5D.6,6
考题
下列程序的输出结果中 x= [填空1] ? public class E { public static void main (String []args) { int x = 1,y = 6; while (y-->0) { x--;} System.out.print("x="+x); }}
考题
28、下列程序输出结果是什么? public class E { public static void main(String[] args) { int x=1,y=6; while(y-->0) { x--; } System.out.print("x="+x+",y="+y); } }
考题
下列程序输出结果是什么? public class E { public static void main(String[] args) { int x=1,y=6; while(y-->0) { x--; } System.out.print("x="+x+",y="+y); } }
热门标签
最新试卷
![瑞牛题库 章节练习 历年真题 模拟试卷](http://assets.51tk.com/51_sidebar_right_index.jpg)