文档分类
#include<stdio.h> int main() {
double ma,eng,c,sum,ave;
scanf("%lf%lf%lf",&ma,&eng,&c); sum=ma+eng+c; ave=sum/3;
printf("%lf\n%lf\n",sum,ave); return 0; }