issues
search
tarunsinghofficial
/
HacktoberFest
:octocat: Add your Programs or tech content to help other contributors ✅
383
stars
2.3k
forks
source link
Update BMI Calculate
#2841
Closed
sulaemanahmed
closed
5 months ago
sulaemanahmed
commented
8 months ago
Enhanced BMI Calculation and Category Determination
Refactored the code to improve readability and maintainability.
Encapsulated the BMI calculation in a separate function, 'calculate_bmi'.
Introduced a new function, 'get_bmi_category', to determine BMI category and provide recommendations.
Updated the 'main' function to use the new functions to calculate BMI and offer recommendations.
The code now provides a more structured and informative BMI assessment.
Enhanced BMI Calculation and Category Determination