#include <iostream> #include <iomanip> #include <cmath> using namespace std; int main( ) { int a; int b; int c; cin >> a>> b>> c; cout << a+b+c << " "; cout << a*b*c<< " " ; cout << fixed <<setprecision(2) << (a+b+c)/3.0 <<endl ; return 0; } |
Double click to view unformatted code.