View Code of Problem 47

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

Double click to view unformatted code.


Back to problem 47