Monday, February 12, 2018

URI Problem 1005 Average 1 Solution in C

Code:  

#include<stdio.h>
int main()
{
    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;
}     

 

FOR INFORMATION:

Subscribe:

https://www.youtube.com/channel/UCYMYpJYj_L28VkddlCujabw

Facebook: https://web.facebook.com/risan.tushar

Twitter: https://twitter.com/RisanTushar1

 **IF YOU DON'T UNDERSTAND PLEASE SEE THE VIDEO SOLUTION, AND PLEASE SUBSCRIBE MY CHANNEL AND LIKE,SHARE ALSO.**

   

No comments:

Post a Comment

Featured Post

Increase Your Laptop s Wifi Signal Faster