View Code of Problem 47

#include <iostream>
using namespace std;

int main(){
  double a,b,c;
  while(scanf("%lf%lf%lf",&a,&b,&c)!=EOF){
    printf("%.0lf%.0lf%.2lf\n",a+b+c,a*b*c,(a+b+c)/3);
  }
}

Double click to view unformatted code.


Back to problem 47