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