#include <stdio.h> int main() { int sno = 0; float c = 0.0f; double math = 0.0; double eng = 0.0; //输入 scanf("%d; %f, %lf, %lf", &sno, &c, &math, &eng); //输出 printf("The each subject score of No. %d is %.2f, %.2lf, %.2lf.\n", sno, c, math, eng); return 0; }