Question: For this 2 question explain how the logic works. Three sample output screenshot (Two normal and one error test case) and Pseudo code algorithm for

For this 2 question explain how the logic works. Three sample output screenshot (Two normal and one error test case)

and Pseudo code algorithm for the 2 questions.

For this 2 question explain how the logic works. Three sample output

Question 1 A clinic requires a program to calculate the body mass index (BMI) and display the BMI value and status of a patient. Develop a program to accept the height and weight of a patient, calculate the BMI and display BMI value and status of a patient. BMI = weight in kg height? BMI Status Below 24 (inclusive) Under weight Above 24 to 29 (inclusive) Healthy Above 29 to 34 (inclusive) Overweight Above 34 Obese Question 2 The Meteorological service requires a program to allow the operator to enter the rainfall level. The program keep accepting the rainfall level until a zero value is entered. The program will keep displaying the current min, max and running average rainfall level after an entry is made. The program terminates by the operator entering a negative value and displaying the total number of entries made

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!