Search This Blog

Uri Online judge - 1006 | Average 2 | problem solution in c

Timelimit: 1

Read three values (variables A, B and C), which are the three student's grades. Then, calculate the average, considering that grade A has weight 2, grade B has weight 3 and the grade C has weight 5. Consider that each grade can go from 0 to 10.0, always with one decimal place.


The input file contains 3 values of floating points with one digit after the decimal point.


Print MEDIA(average in Portuguese) according to the following example, with a blank space before and after the equal signal.

Solution: Click here

No comments

Powered by Blogger.