usingnamespacestd; intmain(){ inta, b, c; doubley; cin>>a>>b>>c; y=1.0*(a+b+c )/3; cout<<"sum:"<<a+b+c<<"\n"<<"average:"<<y<<endl; return0; }
usingnamespacestd; intmain(){ inta, b, c; doubley; cin>>a>>b>>c; y=1.0*(a+b+c )/3; cout<<"sum:"<<a+b+c<<"\n"<<"average:"<<y<<endl; return0; }