#include<stdio.h> int main () { int id = 0; float c = 0; float mat = 0; float eng = 0; scanf("%d;%f,%f,%f",&id,&c,&mat,&eng); printf("The each subject score of No. %d is %.2f, %.2f, %.2f.",id,c,mat,eng); return 0; }
#include<stdio.h> int main () { int id = 0; float c = 0; float mat = 0; float eng = 0; scanf("%d;%f,%f,%f",&id,&c,&mat,&eng); printf("The each subject score of No. %d is %.2f, %.2f, %.2f.",id,c,mat,eng); return 0; }