URI 1005

Solution of URI 1005 >>Average 1

  1. #include < stdio.h >
  2. int main()
  3. {
  4. double A, B, MEDIA;
  5. scanf("%lf%lf", &A, &B);
  6. MEDIA = ( ( A * 3.5 ) + ( B * 7.5 ) ) / 11;
  7. printf("MEDIA = %.5lf\n", MEDIA);
  8.  
  9. return 0;
  10. }

Comments

Popular posts from this blog

URI 2994 Solution

URI 2996 Solution