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
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
The text was updated successfully, but these errors were encountered:
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:-
The text was updated successfully, but these errors were encountered: