题海让大学四年没有难题
白天模式登陆

题目详情

填空题 下面程序的功能是:从键盘上输入若干学生的成绩,统计并输出最高和最低成绩,当输入负数时结束输入. #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

Copyright © 2022 津ICP备2021001502号