In python. Write a program that calculates the BMI (Body Mass Index) of a person, which is used to determine if the ratio of weight and height is appropriate. BMI can be calculated using the following formula: index = weight / height ^ 2 Where the weight must be given in kilograms and the height in meters. The following table shows how the different index ranges are classified: index range Description index <20 LOW WEIGHT 20 <= index <25 NORMAL 25 <= index <30 OVERWEIGHT 30 <= index <40 OBESITY index >= 40 MORBID OBESITY

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section: Chapter Questions
Problem 9PP: (Data processing) Your professor has asked you to write a C++ program that determines grades at the...
icon
Related questions
Question
100%

In python. Write a program that calculates the BMI (Body Mass Index) of a person, which is used to determine if the ratio of weight and height is appropriate. BMI can be calculated using the following formula:

index = weight / height ^ 2

Where the weight must be given in kilograms and the height in meters. The following table shows how the different index ranges are classified:

index range

Description

index <20

LOW WEIGHT

20 <= index <25

NORMAL

25 <= index <30

OVERWEIGHT

30 <= index <40

OBESITY

index >= 40

MORBID OBESITY

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Function Arguments
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
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr