Guest User

Untitled

a guest
Apr 26th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main( )
  4. {
  5. double a,b,c;
  6.  
  7. scanf( "%lf", &a );
  8. scanf( "%lf", &b );
  9.  
  10. c = ( ( a * 3.5 ) + ( b * 7.5 ) ) / 11;
  11.  
  12. printf( "MEDIA = %.5lf\n", c );
  13.  
  14. return 0;
  15. }
Add Comment
Please, Sign In to add comment