View Code of Problem 47

#include<stdio.h>
int main()
{
	int a,b,c;
	scanf("%d%d%d",&a,&b,&c);
	int i,n;
	float m;
	i=a+b+c;
	n=a*b*c;
	m=i*1.0/3;
	printf("%d %d %.2f",i,n,m);
	return 0;
}

Double click to view unformatted code.


Back to problem 47