#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;
}