URI Online Judge | 1006 Average 2
Problem Link : 1006 Average 2
Solution :
Develop by Samsus Salehin Sabbir
Solution :
Develop by Samsus Salehin Sabbir
- #include <stdio.h>
- int main(void) {
- // your code goes here
- float a,b,c;
- scanf("%f %f %f",&a,&b,&c);
- printf("MEDIA = %.1f\n",(a*2+b*3+c*5)/(2+3+5));
- return 0;
- }
No comments