有以下程序 #include <stdio.h> main() { int x,y=0,z=0,t; do { scanf("%d",&x); t=x>0; switch (t) { case 0: break; case 1: y+=x; continue; } z+=x; } while(x); printf("%d,%d\n",y,z); } 程序运行时输入:-1 1 -2 2 0<回车>,则输出结果是
A.1,1
B.1,0
C.3,-3
D.3,0
null008 1楼
xuxiaorui 2楼
梦霜 3楼
onced 4楼
谢爽 5楼
追寻3365 6楼
做题数5122
做题数1079
做题数908
做题数832
做题数799
做题数770