#include <stdio.h> int main() { int xue; float cyy,shu,ying; scanf("%d;%f,%f,%f",&xue,&cyy,&shu,&ying); printf("The each subject score of No. %d is %.2f, %.2f, %.2f.",xue,cyy,shu,ying); return 0; }
#include <stdio.h> int main() { int xue; float cyy,shu,ying; scanf("%d;%f,%f,%f",&xue,&cyy,&shu,&ying); printf("The each subject score of No. %d is %.2f, %.2f, %.2f.",xue,cyy,shu,ying); return 0; }