习题1-1

#include
int main() {
    double a, b, c;
    scanf("%lf%lf%lf", &a, &b, &c);
    double avg = (a + b + c) / 3;
    printf("%.3f",avg);
    return 0;
}

 

转载于:https://www.cnblogs.com/zhuzehua/p/9783052.html

你可能感兴趣的:(习题1-1)