有一分数序列: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
【单选题】The first lesson I learned as a newcomer for the company was never to ________ the degree of difficulty I would face in career advancement.
A. underestimate
B. underline
C. recede
D. overwhelm