View Code of Problem 47

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

Double click to view unformatted code.


Back to problem 47