View Code of Problem 47

#include<stdio.h>
#include<math.h>
void main ()
{
    int a,b,c,n,m;
	float i;
    scanf("%d%d%d",&a,&b,&c);
	
	n=a+b+c;
	m=a*b*c;
	i=n/3;

	printf("%d %d %.2f\n",n,m,i);
}

Double click to view unformatted code.


Back to problem 47