SarthakKeshari / calc_for_everything

This repository aims to provide Calculators for educational, professional, scientific, health and well-being and other purposes.
https://calc-for-everything-psi.vercel.app
MIT License
113 stars 103 forks source link

Feature/ashishnallana #495

Closed ashishnallana closed 10 months ago

ashishnallana commented 10 months ago

Issue Id you have worked upon -

451

Briefly explain your program logic -

I parsed user-provided grouped data from the table. The code finds the mode (the interval with the highest frequency), and displays "No mode" if there's no unique mode. It also alerts the user for empty input or incorrect data format.

Screenshots(Attach 2 screenshots of your own input and output) -

screenshot01 screenshot02


By raising this PR I affirm that -

SarthakKeshari commented 10 months ago
@ashishnallana, A bit of work is required at the UI end so that the input looks like this - Interval Frequency Cumulative Frequency
0 - 10 5 5
10 - 20 3 8
20 - 30 8 16

...and so on and so forth.

ashishnallana commented 10 months ago

@SarthakKeshari I have made the changes you asked for, you can review it now.

SarthakKeshari commented 10 months ago

@ashishnallana, You may autofill the cumulative frequency column. As per the frequency input by the user.

ashishnallana commented 10 months ago

@SarthakKeshari I have made the changes to autofill CF when frequency is entered. You can review now.

SarthakKeshari commented 10 months ago

@ashishnallana, Kindly revert App.js file.

SarthakKeshari commented 10 months ago

@ashishnallana, 12 files have been altered kindly fix it.

ashishnallana commented 10 months ago

@SarthakKeshari I removed those 12 file alterations, but I am unable to revert App.js

SarthakKeshari commented 10 months ago

@ashishnallana, I will take care of that.

SarthakKeshari commented 10 months ago

Congratulations 🎉 @ashishnallana on your contribution. Thanks for adding value to this repository. 😊

Let's celebrate this fest 😃 by providing more developers 👨‍💻👩‍💻 an opportunity to contribute. Help us make this repository reach far and more by sharing this to your friends and colleagues.

Your efforts can make difference.

SarthakKeshari commented 10 months ago

@ashishnallana, Good UI. I appreciate the efforts you have put in to deliver this code. Adding admin-appreciation points to celebrate it. 👏👏