题解 | #学生基本信息输入输出#
学生基本信息输入输出
https://www.nowcoder.com/practice/58b6a69b4bf943b49d2cd3c15770b9fd
#include <stdio.h> int main() { int id=0; //精度要求高用double float c_language=0.0f; float math=0.0f; float English=0.0f; scanf("%d;%f,%f,%f",&id,&c_language,&math,&English); printf("The each subject score of No. %d is %.2f, %.2f, %.2f.",id,c_language,math,English); return 0; }
c语言刷题 文章被收录于专栏
c语言刷题题目