题解 | #学生基本信息输入输出#
学生基本信息输入输出
http://www.nowcoder.com/practice/58b6a69b4bf943b49d2cd3c15770b9fd
#include <stdio.h>
int main() {
int Num = 0; //学号
float C_language = 0; //C语言成绩
float Math = 0; //数学成绩
float English = 0; //英语成绩
scanf("%d;%f,%f,%f", &Num, &C_language, &Math, &English);
printf("The each subject score of No. %d is %.2f, %.2f, %.2f.\n",
Num, C_language, Math, English);
return 0;
}
360集团公司福利 406人发布

