C语言题目(计算5个数的平均值),求指导!

日期:2020-04-27 19:45:58 人气:1

C语言题目(计算5个数的平均值),求指导!

#include //设计函数 double average() { double q,w,e,r,t,result; printf("请输入要计算的5个数\n"); scanf("%lf %lf %lf %lf %lf ",&q,&w,&e,&r,&t); //这一句请改成scanf("%lf %lf %lf %lf %lf",&q,&w,&e,&r,&t); &
    A+
热门评论