赞
踩
#include <stdio.h>
int main(){
double a,b,c;
double sum=0.0;
double avg=0.0;
scanf("%lf%lf%lf",&a,&b,&c);
sum=a+b+c;
avg=sum/3.0;
printf("%0.2lf %0.2lf",sum,avg);
return 0;
}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。