SOLUTION OF URI 1006 URI SOLUTIONS question of uri 1006 Average 2 //1006 (Mahmud_Jamil) BRUR #include <stdio.h> int main() { float a=2,b=3,c=5,d,e,f,g,MEDIA; scanf("%f %f %f",&d,&e,&f); g=a+b+c; MEDIA=(a*d+b*e+c*f)/g; printf("MEDIA = %.1f\n",MEDIA); return 0; } Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook