Cs111- draw a flowchart for the program that will calculate


Problem 1: Draw a flowchart for the program that will calculate BMI from a height (in inches) and a weight (in pounds). The program will tell the BMI along with advice.

BMI is calculated in the following way.

BMI = weight in pounds x 703 / height in inches x height in inches

Problem 2: Draw a flowchart for the program that will read an unknown number of ages. (0 is a valid age used for a baby.) The user will enter a negative number if there are no more ages to enter. The program will output the average age and youngest and oldest ages. If no ages were entered, display "No ages were entered".

Problem 3: Draw a flowchart for the program that will let a teacher enter exactly 5 scores (each score needs to be greater than or equal to zero). The program will output the total and average score. Reject bad inputs from the user. If she enters a negative number, tell her "Invalid score. Enter a score again".

Attachment:- Assignment.rar

Solution Preview :

Prepared by a verified Expert
Computer Engineering: Cs111- draw a flowchart for the program that will calculate
Reference No:- TGS02187755

Now Priced at $40 (50% Discount)

Recommended (93%)

Rated (4.5/5)