#include<stdio.h>
int main()
{
double a=0;
double b=0;
dou ble c=0;
printf("请输入三位数:");
scanf("%lf%lf%lf",&a,&b,&c);
printf("平均数为:%f",(a+b+c)/3);
return 0;
}
#include<stdio.h>
int main()
{
double a=0;
double b=0;
dou ble c=0;
printf("请输入三位数:");
scanf("%lf%lf%lf",&a,&b,&c);
printf("平均数为:%f",(a+b+c)/3);
return 0;
}
本文标题:10.13
本文链接:https://www.haomeiwen.com/subject/nyaxuxtx.html
网友评论