You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For this problem, you need to read in 4 non-negative doubles, and then print on separate lines: their sum, their mean, and their multiplication, and their geometric mean. The geometric mean just takes the multiplcation and raises it to the (in this case) 1/4 power.
For example, if the numbers are 15, 6, 7.5 and 9.1, then: