Revise the size-determining program to execute continuously


Problem

a. Draw the hierarchy chart and then plan the logic for a program that calculates the gown size a student needs for a graduation ceremony. The program uses three modules. The first prompts a user for and accepts the student's height in inches. The second module accepts the student's weight in pounds and converts the student's height to centimeters and weight to grams. Then, it calculates the graduation gown size needed by adding 1/3 of the weight in grams to the value of the height in centimeters. The program's output is the gown size the student should order. There are 2.54 centimeters in an inch and 453.59 grams in a pound. Use named constants wherever you think they are appropriate. The last module displays the message "End of job".

b. Revise the size-determining program to execute continuously until the user enters 0 for the height in inches.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Revise the size-determining program to execute continuously
Reference No:- TGS02646997

Expected delivery within 24 Hours