View Code of Problem 47

#include<bits/stdc++.h>
using namespace std;
int main(){
	int a,b,c;
	cout<<fixed<<setprecision(2);
	cin >> a >> b >> c;
	cout << a+b+c << ' ' << a*b*c << ' ' << (float)(a+b+c)/3 << endl;
}

Double click to view unformatted code.


Back to problem 47