subject

G A fitness instructor wants to find out the number of students who are underweight, ideal, overweight and obese. The BMI (Body Mass Index) is a common tool for deciding whether a person has an appropriate body weight. It measures a person's weight in relation to their height. You have been asked to create a program to calculate BMI of each student, determine number of students in each category and an average BMI. BMI is calculated as follows: BMI = (weight)/(height*height). BMI Category Less than 18.5 Underweight At least 18.5 but less than 25 Ideal At least 25 but less than 30 Overweight Over 30 Obese Your goal is to create an application to allow the fitness instructor to continuously input height (meters) and weight (kilograms) until the fitness instructor has indicated they are finished entering data. When an invalid input is provided the user must see an error message and be re prompted. Once all of the data has been entered, generate a report showing the number of students in each category and the average BMI.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:00
What is added to the < meta > tag to describe the encoding type?
Answers: 1
question
Computers and Technology, 23.06.2019 03:50
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
Martha is designing a single-player game. her manager suggests that she plan the design to incorporate future modifications. which principle of game design relates to planning for future modifications?
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
You know the right answer?
G A fitness instructor wants to find out the number of students who are underweight, ideal, overweig...
Questions
question
Mathematics, 11.12.2019 03:31
question
Mathematics, 11.12.2019 03:31
question
Mathematics, 11.12.2019 03:31