URI Online Judge | 1005 Average 1
Problem Link : 1005 Average 1
Solution :
Develop by Samsus Salehin Sabbir
Solution :
Develop by Samsus Salehin Sabbir
- #include <stdio.h>
- int main(void) {
- double a,b,MEDIA;
- scanf("%lf %lf",&a,&b);
- MEDIA=(a*3.5+b*7.5)/(3.5+7.5);
- printf("MEDIA = %.5lf\n",MEDIA);
- return 0;
- }
No comments