Question: Objectives To give students practice at typing in , compiling and running simple programs. To learn how to read in input from the user. To
Objectives
To give students practice at typing in compiling and running simple programs.
To learn how to read in input from the user.
To learn how to use assignment statements and arithmetic expressions to make calculations
Introduction: Healthy UCF
UCF is committed to student health and already has a great Recreation and Wellness center on campus for students to use. To encourage students to find out more about themselves and their overall health, they are implementing some new initiatives.
This semester, we will help the Healthy UCF program educate people about fitness, nutrition, heart rate, body mass index, and more through simple programs written in the python programming language.
Problem: BMI Calculator
bmi.py
The Body Mass Index sometimes called the Body Mass Indiator is a number that is a measure of body fat based on height and weight. Exercise UCF wants to make sure that anyone who participates in the program can check their BMI whenever they wish. For this problem, you will design a program that calculates a person's BMI based on their height and weight.
Program Specification
You will need to ask the user for their height in inches and their weight in pounds. The calculation for BMI is below. You should then print out the resultant BMI with two decimal places to the user.
Your program must include a header comment and at least one internal comment.
Your program may not include material outside of modules and
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
