题解 | #学生基本信息输入输出#
学生基本信息输入输出
http://www.nowcoder.com/practice/58b6a69b4bf943b49d2cd3c15770b9fd
#include <stdio.h> int main() { int i=0; float c=0,m=0,y=0; scanf("%d;%f,%f,%f",&i,&c,&m,&y); printf("The each subject score of No. %d is %.2f, %.2f, %.2f.",i,c,m,y); return 0; }