Question: Question No . 6 : Write a Python program to ask the user to input their weight and height as two float numbers and displays

Question No.6: Write a Python program to ask the user to input their weight and height as two float numbers and displays his/her body mass index (BMI) and if being overweight or not. BMI is calculated as the weight in kilograms divided by the squared height in meters. A BMI value of 25 or more indicates overweight.
Problem input: weight, height
Problem print(output):
BMI # Body mass index
Overweight #Yes or no
Test your program with the following pairs of weights and heights:
a)100 kilograms
1.70 meters
b)60 kilograms
1.55 meters
c)75 kilograms
1.68 meters
 Question No.6: Write a Python program to ask the user to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!