分析: 读入五个浮点数求和平均即可。 题解: #include <bits/stdc++.h> using namespace std; int main() { float a, b, c, d, e; //分别用float读入五门不同的成绩 scanf("%f %f %f %f %f", &a, &b, &c, &d, &e); //对所有成绩进行累加然后求均值输出。 float avg = (a+b+c+d+e) / 5.f; printf("%.2f\n", avg); return 0; }题解2: #include <bit...