#include<stdio.h> void main() { int a, b, c; double chu; scanf("%d %d %d", &a, &b, &c); chu = (a*b*c)/3; printf("%d %d %.2lf", a+b+c, a*b*c, chu); }
Double click to view unformatted code.