subject

OVERVIEW Body mass index (BMI) is a value derived from the mass (weight) and height of a person. The BMI is defined as the body mass divided by the square of the body height, and is expressed in units of kg/m2, resulting from mass in kilograms and height in meters. The BMI may be determined using a table or chart which displays BMI as a function of mass and height using contour lines or colors for different BMI categories, and which may use other units of measurement (converted to metric units for the calculation). The BMI is a convenient way for classifying persons in to 4 categories based the BMI value as shown the following table:
BMI value Category Less than 18.5 Underweight 18.5 to less than 25 Normal 25 to less than 30 Overweight 30 or higher Obese
A national study in some country to analyze the BMI of the people in the country is considered. In this study, a set of cities is selected in the study and randomly specific number of persons are selected to check the BMI category of each one.
Implement a java project to help in the study analysis with the following steps:
• Read from the user the number of cities (minimum 6 cities.) • For each city: city name and the number of persons (minimum 10 persons) are entered. • For each person in a city: mass and height should be entered, BMI and BMI category have to be computed and printed. • For each city, the number of persons and percent ratio in each BMI category should be computed and printed. • Finally, the program should print a summary report with the following details: o Number of cities. o Total number of persons and percent ratio of persons in each BMI category in all cities. o The name of the best city which has the maximum percent of persons in normal weight BMI category and these people’s percent ratio. o The name of the worst city which has the maximum percent of persons in obese BMI category and these people’s percent ratio. o The name of the city which has the minimum percent of persons in underweight BMI category and these people’s percent ratio.


OVERVIEW

Body mass index (BMI) is a value derived from the mass (weight) and height of a person.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:00
Write the command that can be used to answer the following questions. (hint: try each out on the system to check your results.) a. find all files on the system that have the word test" as part of their filename. b. search the path variable for the pathname to the awk command. c. find all files in the /usr directory and subdirectories that are larger than 50 kilobytes in size. d. find all files in the /usr directory and subdirectories that are less than 70 kilobytes in size. e. find all files in the / directory and subdirectories that are symbolic links. f. find all files in the /var directory and subdirectories that were accessed less than 60 minutes ago. g. find all files in the /var directory and subdirectories that were accessed less than six days ago. h. find all files in the /home directory and subdirectories that are empty. i. find all files in the /etc directory and subdirectories that are owned by the group bin."
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
Write a program in plp assembly that counts up by one starting from zero (or one) inside a loop and writes this value to the leds every time the value is increased. the memory address of the leds is 0xf0200000. the table below shows the meaning and an example usage of the instructions covered in the video, plp instructions for project 1. instruction example usage meaning load immediate li $t0, 8 register $t0 is set to the value, 8. store word sw $t2, 0($t1) the value in register $t1 is used as the memory address. the value in register $t2 is copied into this memory address. add addiu $t4, $t3, 29 register $t4 is assigned the sum of 29 and the value in register $t3. jump j your_label_name the program jumps to the line following the label, "your_label_name: ". label your label name: defines a label called "your_label_name: " that can be jumped to
Answers: 2
question
Computers and Technology, 24.06.2019 02:00
What is a loop? a. a collection of function definitions at the top of a program b. a line of code that defines a variable and assigns it a value c. a program that opens the turtle graphics window d. a block of code that repeats a specific number of times
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
The footer area of a web page generally houses which website feature? terms of use web page content business name or title menu headings
Answers: 1
You know the right answer?
OVERVIEW Body mass index (BMI) is a value derived from the mass (weight) and height of a person. T...
Questions
question
Mathematics, 18.09.2020 08:01
question
Mathematics, 18.09.2020 08:01
question
Mathematics, 18.09.2020 08:01
question
Mathematics, 18.09.2020 08:01
question
Mathematics, 18.09.2020 08:01
question
Mathematics, 18.09.2020 08:01
question
Mathematics, 18.09.2020 08:01
question
History, 18.09.2020 08:01
question
English, 18.09.2020 08:01
question
Biology, 18.09.2020 08:01
question
Chemistry, 18.09.2020 08:01
question
Mathematics, 18.09.2020 08:01
question
Mathematics, 18.09.2020 08:01
question
Mathematics, 18.09.2020 08:01
question
Mathematics, 18.09.2020 08:01
question
Mathematics, 18.09.2020 08:01
question
Mathematics, 18.09.2020 08:01
question
Mathematics, 18.09.2020 08:01
question
Mathematics, 18.09.2020 08:01
question
Mathematics, 18.09.2020 08:01
Questions on the website: 13722360