#include<stdio.h> int main() { int a,b,c,h,j; float p; scanf("%d%d%d",&a,&b,&c); h=a+b+c; j=a*b*c; p=(a+b+c)/3; printf("%d %d %.2f",h,j,p); return 0; }
Double click to view unformatted code.