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