若有循环:intx=5,y=20;do{y-=x;x+=2;}while(xy);则循环体将被执行()次。

若有循环:intx=5,y=20;do{y-=x;x =2;}while(xy);则循环体将被执行()次。

A.2

B.1

C.0

D.3

正确答案:2

猜你喜欢