Create a file for the geometric and harmonic mean calculator function
To create separate functions for calculating geometric and harmonic mean for a given input of n numbers and displaying required output upto 6 decimal places
Example
For geometric mean:-
Input: Enter number of observations: 5
Enter the numbers:1
2
3
4
5
Output: Geometric mean is : 2.605171
For harmonic mean:-
Input: Enter number of observations: 5
Enter the numbers:1
2
3
4
5
Output: Harmonic mean is : 2.189781
Todo
Create a file for the geometric and harmonic mean calculator function
To create separate functions for calculating geometric and harmonic mean for a given input of n numbers and displaying required output upto 6 decimal places
Example
For geometric mean:-