Question
4. Based on the BMI categories as defined by the WHO (underweight if below 18.5, normal range up to 25.0, etc.), write some code that
4. Based on the BMI categories as defined by the WHO (underweight if below 18.5, normal range up to 25.0, etc.), write some code that outputs a series of strings like "{name} has BMI of {bmi} which is {bmi_category}.": ## Basia has BMI of 20.38 which is normal. ## Ania has BMI of 29.32 which is overweight. ## Grzesiek has BMI of 24.07 which is normal. ## Elvira has BMI of 23.23 which is normal. ## Katherine has BMI of 18.19 which is underweight. Make sure the formatting is neat and tidy.
5. For each person, calculate also the BMI prime measure as defined in https://en.wikipedia.org/wik i/Body_mass_index.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started