题目内容

下列程序执行后的输出结果是_________.#includeintmain(){intx=15; while(x>10&&x<50) {x++;if(x/3){x++;break;}elsecontinue;}printf("%d",x);}

查看答案
更多问题

有一分数序列:2/1,3/2,5/3,8/5,13/8,21/13......,求出这个数列的前20项之和。#includeintmain(){inti,n=20;floata=2,b=1,s=0,t;for(i=1;i<=n;i++){______;______;______;______;}printf("%f",s);}

从键盘上输入若干学生的成绩,统计并输出最高成绩和最低成绩,当输入负数时结束输入。请在下列程序中填空。#includeintmain(){floatx,max,min;printf("pleaseinputscores:");scanf("%f",&x);max=min=x;while(___1___){if(___2__)max=x;if(___3__)min=x;scanf("%f",&x);}printf("\nmax=%f\nmin=%f\n",max,min);getchar();}

下面的程序段执行时,语句m=i+j执行的次数是多少?__________.m的最终值是多少?_______.{inti,j,m,k=0;for(i=1;i<=5;i++)for(j=5;j>=-5;j=j-2){m=i+j;k=k+1;}printf("%d,%d",k,m);}

【单选题】Kids are more likely to ________ in a situation if they believe their parents expect them to help.

A. intervene
B. overlook
C. interrupt
D. paralyze

答案查题题库