题目内容

从键盘上输入若干学生的成绩,统计并输出最高成绩和最低成绩,当输入负数时结束输入。请在下列程序中填空。#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

【单选题】Just as I started to think that I was never going to get well, the illness began to ________.

A. recede
B. concede
C. proceed
D. succeed

答案查题题库