View Code of Problem 47

#include<stdio.h>
main(){
	int a,b,c,sum,p;
	double q;
	scanf("%d%d%d",&a,&b,&c);
	sum=a+b+c;
	p=a*b*c;
	q=sum/3;
	printf("%d %d %.2lf\n",sum,p,q);

}

Double click to view unformatted code.


Back to problem 47