BMI is a measure of body condition and it is related to a person's weight and height. In the metric system, for weight given in Kilograms (Kg) and height given in centimeters (cm), the BMI value is given by: $BMI=10000*weight/(height^2)$. The person's condition is given by the table below:\n", "\n", "| BMI | Condition|\n", "|-----|----------|\n", "| <18.5| Underweight|\n", "|>=18.5 and <25| Normal |\n", "|>=25 and <30| Overweight |\n", "|>= 30 | Obese|\n", "\n", Write a program that asks for a person's height in cm and weight in Kg and print's the person's condition

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter5: Working With Multiple Worksheets And Workbooks
Section: Chapter Questions
Problem 4AYK
icon
Related questions
icon
Concept explainers
Question
BMI is a measure of body condition and it is related to a person's weight and height. In the metric system, for weight given in Kilograms (Kg) and height given in centimeters (cm), the BMI value is given by: $BMI=10000*weight/(height^2)$. The person's condition is given by the table below:\n",
"\n",
"| BMI | Condition|\n",
"|-----|----------|\n",
"| <18.5| Underweight|\n",
"|>=18.5 and <25| Normal |\n",
"|>=25 and <30| Overweight |\n",
"|>= 30 | Obese|\n",
"\n",
Write a program that asks for a person's height in cm and weight in Kg and print's the person's condition.
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Control Structure
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning