单项选择题
设x和y均为int型变量,则执行以下的循环后,y的值为()。
for(y=1,x=1;y< =50;y++){ if(x>=0) break; if(x%2==1) { x+=5; continue; } x-=3;}
A.1
B.50
C.51
D.52
点击查看答案&解析
相关考题
