subject
Engineering, 10.12.2019 03:31 Shazrts2371

A. draw the hierarchy chart and then plan the logic for a program that calculates a person's body mass index (bmi). bmi is a statistical measure that compares a person's weight and height. the program uses three modules. the first prompts a user for and accepts the user's height in inches. the second module accepts the user's weight in pounds and converts the user's height to meters and weight to kilograms. then, it calculates bmi as weight in kilograms divided by height in meters squared, and displays the results. there are 2.54 centimeters in an inch, 100 centimeters in a meter, 453.59 grams in a pound, and 1,000 grams in a kilogram. use named constants whenever you think they are appropriate. the last module displays the message end of job. b. revise the bmi-determining program to execute continuously until the user enters 0 for the height in inches.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Water in a partially filled large tank is to be supplied to the roof top, which is 8 m above the water level in the tank, through a 2.2-cm-internal-diameter pipe by maintaining a constant air pressure of 300 kpa (gage) in the tank. if the head loss in the piping is 2 m of water, determine the discharge rate of the supply of water to the roof top in liters per second.
Answers: 3
question
Engineering, 04.07.2019 18:20
An open feedwater heater operates at steady state with liquid entering at inlet 1 with t? = 40°c and pl = 1 .2 mpa. water vapor att2-200°c and p2 = 1.2 mpa enters at inlet 2. saturated liquid water exits with a pressure of pa 1.2 mpa. neglect heat transfer with the surroundings and all kinetic and potential energy effects, determine the mass flow rate of steam at inlet 2 if the mass flow rate of liquid water at inlet 1 is given as 2 kg/s.
Answers: 3
question
Engineering, 04.07.2019 19:10
Analyze the factors that influence the choice between the following pairs of processes to make the products indicated: i) sand casting versus die casting of an electric-motor housing ii) thread rolling versus machining of a bolt for high-strength application. (co3/c5)
Answers: 3
question
Engineering, 04.07.2019 19:20
Acarnot refrigerator operates in a room in which the temperature is 21°c and of power when operating. if the food compartment of the refrigerator is consumes 3 kw to be maintained at 2°c, determine (a) the coefficient of performance of the cycle and (b) the rate of heat removal from the food compartment. refrigerator cycle that has a higher coefficient of performance than that of the discussed (e) is it possible to develop a carn ot refrigerator, operating between the same temperature limits? explain
Answers: 2
You know the right answer?
A. draw the hierarchy chart and then plan the logic for a program that calculates a person's body ma...
Questions
question
Mathematics, 27.02.2020 01:47
question
Mathematics, 27.02.2020 01:48
question
Mathematics, 27.02.2020 01:48
Questions on the website: 13722367