Posts

Showing posts with the label URI Average 1

URI 1005

Solution of URI 1005 >>Average 1 #include < stdio.h > int main ( ) { double A, B, MEDIA ; scanf ( "%lf%lf" , & A, & B ) ; MEDIA = ( ( A * 3.5 ) + ( B * 7.5 ) ) / 11 ; printf ( "MEDIA = %.5lf \n " , MEDIA ) ;   return 0 ; }