题目详情
填空题 下面程序的功能是:从键盘上输入若干学生的成绩,统计并输出最高和最低成绩,当输入负数时结束输入. #include <stdio.h> main ( ) { float score, max, min; printf ( "Please input one score:\n" ); scanf ("%d", &score); max=min=score; while ( _____________ ) { if (score>max) max=score; if ( ______________ ) min=score; printf ( "Please input another score:\n" ); scanf ("%d", &score); } printf("\nThe max score is %f\nThe min score is %f",max,min); }

学科:默认课程
时间:2025-05-30 16:56:27
