题解 | 学生基本信息输入输出
#include <stdio.h>
int main()
{
int id=0;
float c=0.0f;
float math=0.0f;
float eng=0.0f;
scanf("%d;%f,%f,%f",&id,&c,&math,&eng);
printf("The each subject score of No. %d is %.2f, %.2f, %.2f.",id,c,math,eng);
return 0;
}
海康威视公司福利 1386人发布