View Code of Problem 47

#include<cstdio>
#include<cmath>
int main(){
	int a,b,c;
	float mean;
	scanf("%d %d %d",&a,&b,&c);
	mean=float (a+b+c)/3;
	printf("%d %d %.2lf",a+b+c,a*b*c,mean);
	return 0;
} 

Double click to view unformatted code.


Back to problem 47