Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Function for geometric and harmonic mean #77

Open
dhanashreemunot opened this issue Oct 4, 2020 · 2 comments
Open

Adding Function for geometric and harmonic mean #77

dhanashreemunot opened this issue Oct 4, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@dhanashreemunot
Copy link

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:-

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

@dhanashreemunot
Copy link
Author

can i work on this?

@pbuggaveeti28
Copy link

Can I contribute?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants