当前位置: X题卡 > 所有题目 > 题目详情

有下列程序段: int n, t=1, s=0; scanf("%d", &n); dos=s+t; t=t-2; while(t!=n); 为使此程序段不陷入循环,从键盘输入的数据应该是(...

查看本题答案

你可能感兴趣的试题

任意正奇数  任意负偶数  任意正偶数  任意负奇数  
任意正奇数  任意负偶数  任意正偶数  任意负奇数  
typedef struct {int n; char c;}REC; REC t1,t2;  struct REC; {int n; char c;}; REC t1,t2;  typedef struct REC; { int n=0; char c='A';} t1,t2;  stmct { int n; char c;} REC; REC t1,t2;  
任意正奇数  任意负偶数  任意正偶数  任意负奇数  
typedef struct {int n; char c;}REC; REC t1,t2;  struct REC; {int n; char c;}; REC t1,t2;  typedef struct REC; { int n=0; char c='A';} t1,t2;  stmct { int n; char c;} REC; REC t1,t2;  
任意正奇数  任意负偶数  任意正偶数  任意负奇数  
任意正奇数  任意负偶数  任意正偶数  任意负奇数  
任意正奇数  任意负偶数  任意正偶数  任意负奇数  
任意正奇数  任意负偶数  任意正偶数  任意负奇数  

热门试题

更多