#include <stdio.h>
int main() {
int a;
float b,c,d;
scanf("%d;%f,%f,%f",&a,&b,&c,&d);//不同类型用分号
printf("The each subject score of No. %d is %.2f, %.2f, %.2f.",a,b,c,d);
return 0;
}

#include <stdio.h>
int main() {
int a;
float b,c,d;
scanf("%d;%f,%f,%f",&a,&b,&c,&d);//不同类型用分号
printf("The each subject score of No. %d is %.2f, %.2f, %.2f.",a,b,c,d);
return 0;
}