SHARE
TWEET

Average 1

Nahid8195 Feb 16th, 2020 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2.  
  3. int main(){
  4.  
  5.    float A,B,MEDIA;
  6.  
  7.    scanf("%f %f",&A,&B);
  8.  
  9.    MEDIA=((A*3.5)+(B*7.5))/(3.5+7.5);
  10.  
  11.    printf("MEDIA = %.5f\n",MEDIA);
  12.  
  13.    return 0;
  14.  
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top