Question
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
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