题解 | #学生基本信息输入输出#
学生基本信息输入输出
https://www.nowcoder.com/practice/58b6a69b4bf943b49d2cd3c15770b9fd
#include <stdio.h>
int main()
{
int id=0;
float c=00.000;
float math=00.00;
float english=00.00;
scanf("%d;%f,%f,%f",&id,&c,&math,&english);
printf("The each subject score of No. %d is %.2f, %.2f, %.2f.\n",id,c,math,english);
return 0;
}