23.零起点学算法21——求平均值

#include<stdio.h>
int main()
{
    double a,b,c;
    while(scanf("%lf %lf %lf",&a,&b,&c)!=EOF)
    {
        printf("%.3f\n",(a+b+c)/3);
    }
    return 0;
}

猜你喜欢

转载自www.cnblogs.com/Estwind/p/9720027.html