Computer Science, asked by zaibshamsi93, 10 months ago

(b) What will be the value returned by function
AVERAGE(20, 15, 45)?​

Answers

Answered by anurag2305
4

Answer:

value returned= average= Total/3 = (20+ 15+ 45)/3 = 80/3 = 26+ 2/3 = 26.6666667.

This would be the answer, if your output variable is of type floating.

If the output variable is of type integer, then the returned answer would be 26 (lower integer- floor).

Similar questions