#include <iostream>#include <math.h>using namespace std;
int main(){ float x, y, z; cin >> x >> y >> z; float avg = (x + y + z) / 3; printf("%.3f", avg); return 1;}
输入三位数,输出平均值并保留三位小数
原文:https://www.cnblogs.com/TyranRex/p/12146941.html