View Code of Problem 47

#include<bits/stdc++.h>
using namespace std;



int main() {

	int a,b,c;
	cin>>a>>b>>c;
	cout<<a+b+c<<" "<<a*b*c<<" ";
	printf("%.2lf\n",(a+b+c)/3.0);
	return 0;
}

Double click to view unformatted code.


Back to problem 47