Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Ask a user to input their name, age, height (h) and weight (w).The age, height and weight should be real numbers. If the age is

Ask a user to input their name, age, height (h) and weight (w).The age, height and weight should be real numbers.

If the age is not in range of 18-65, print that your BMI cannot be calculated.

write python program

Calculate BMI(Body Mass Index) by the formula B= w/h^2.If the BMI is 25.0 or more, print that(name of the person ) is overweight, if it in range is 18.5 to 24.9,

print that(name of the person )is healthy, if it is less than 18.5 print that

print that(name of the person )is under weight.

Print a line saying my name is "What ever is your name".

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

8th Edition

013460153X, 978-0134601533

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago