Question: Ex1) Write a f90 program contains a subroutine named mean to find the arithmetic mean (Am), geometric mean (Gm) and harmonic mean (Hm) of three

Ex1) Write a f90 program contains a subroutine named mean to find the arithmetic mean (Am), geometric mean (Gm) and harmonic mean (Hm) of three integer numbers. Hint: arithmetic mean of (x, y, z) (x + y + z)/3 geometric mean (x, y, z) (x* y* 2) harmonic mean (x, y, z) 3 = = 3 1,1,1 -+-+- x y z
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
