(26)以下语句中会产生死循环的有 (BC) A. int x= 1, y= 0; while (true) if (( x + =(y++))>100)break;
B. fort;;);
C. for (int x = 100, y 1: y 10: if (x y = 0) Console. WriteLine(y+
D. for (int i= 10; i 0; i--) for (int j= 0: j< i: j++):
1个回答
关注
展开全部
亲,您好,产生死循环的语句有BC两个选项。
咨询记录 · 回答于2023-06-18
D. for (int i= 10; i 0; i--) for (int j= 0: j< i: j++):
(26)以下语句中会产生死循环的有
(BC)
A. int x= 1, y= 0; while (true) if (( x + =(y++))>100)break;
B. fort;;);
C. for (int x = 100, y 1: y 10: if (x y = 0) Console. WriteLine(y+
(26)以下语句中会产生死循环的有
D. for (int i= 10; i 0; i--) for (int j= 0: j< i: j++):
C. for (int x = 100, y 1: y 10: if (x y = 0) Console. WriteLine(y+
B. fort;;);
A. int x= 1, y= 0; while (true) if (( x + =(y++))>100)break;
(BC)
c的y++不能执行吗
C. for (int x = 100, y 1: y 10: if (x y = 0) Console. WriteLine(y+
B. fort;;);
A. int x= 1, y= 0; while (true) if (( x + =(y++))>100)break;
(BC)
(26)以下语句中会产生死循环的有
D. for (int i= 10; i 0; i--) for (int j= 0: j< i: j++):
C. for (int x = 100, y 1: y 10: if (x y = 0) Console. WriteLine(y+
B. fort;;);
A. int x= 1, y= 0; while (true) if (( x + =(y++))>100)break;
(BC)
(26)以下语句中会产生死循环的有
D. for (int i= 10; i 0; i--) for (int j= 0: j< i: j++):
C. for (int x = 100, y 1: y 10: if (x y = 0) Console. WriteLine(y+
B. fort;;);
A. int x= 1, y= 0; while (true) if (( x + =(y++))>100)break;
(BC)
(26)以下语句中会产生死循环的有
D. for (int i= 10; i 0; i--) for (int j= 0: j< i: j++):
C. for (int x = 100, y 1: y 10: if (x y = 0) Console. WriteLine(y+
B. fort;;);
A. int x= 1, y= 0; while (true) if (( x + =(y++))>100)break;
(BC)
(26)以下语句中会产生死循环的有
D. for (int i= 10; i 0; i--) for (int j= 0: j< i: j++):
C. for (int x = 100, y 1: y 10: if (x y = 0) Console. WriteLine(y+
B. fort;;);
A. int x= 1, y= 0; while (true) if (( x + =(y++))>100)break;
(BC)
(26)以下语句中会产生死循环的有
D. for (int i= 10; i 0; i--) for (int j= 0: j< i: j++):
C. for (int x = 100, y 1: y 10: if (x y = 0) Console. WriteLine(y+
B. fort;;);
A. int x= 1, y= 0; while (true) if (( x + =(y++))>100)break;
(BC)
(26)以下语句中会产生死循环的有
D. for (int i= 10; i 0; i--) for (int j= 0: j< i: j++):
C. for (int x = 100, y 1: y 10: if (x y = 0) Console. WriteLine(y+
B. fort;;);
A. int x= 1, y= 0; while (true) if (( x + =(y++))>100)break;
(BC)
(26)以下语句中会产生死循环的有
D. for (int i= 10; i 0; i--) for (int j= 0: j< i: j++):
C. for (int x = 100, y 1: y 10: if (x y = 0) Console. WriteLine(y+
B. fort;;);
A. int x= 1, y= 0; while (true) if (( x + =(y++))>100)break;
(BC)
(26)以下语句中会产生死循环的有
D. for (int i= 10; i 0; i--) for (int j= 0: j< i: j++):
C. for (int x = 100, y 1: y 10: if (x y = 0) Console. WriteLine(y+
B. fort;;);
A. int x= 1, y= 0; while (true) if (( x + =(y++))>100)break;
(BC)
(26)以下语句中会产生死循环的有
D. for (int i= 10; i 0; i--) for (int j= 0: j< i: j++):
C. for (int x = 100, y 1: y 10: if (x y = 0) Console. WriteLine(y+
B. fort;;);
A. int x= 1, y= 0; while (true) if (( x + =(y++))>100)break;
(BC)
(26)以下语句中会产生死循环的有
D. for (int i= 10; i 0; i--) for (int j= 0: j< i: j++):
C. for (int x = 100, y 1: y 10: if (x y = 0) Console. WriteLine(y+
B. fort;;);
A. int x= 1, y= 0; while (true) if (( x + =(y++))>100)break;
(BC)
(26)以下语句中会产生死循环的有