Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I just need the hand chart for this problem please! Algorithm, Pseudocode, Hand

ID: 3669887 • Letter: I

Question

I just need the hand chart for this problem please!

Algorithm, Pseudocode, Hand Trace Chart,and RAPTOR Flowcharting Tool[1][20 points].

Write the algorithm, pseudocode and flowchart using the RAPTOR Flowcharting Tool for the following problem:

Body Mass Index Program

A person’s body mass index (BMI) is often used to determine whether a person with a sedentary lifestyle is overweight or underweight for his or her height. A person’s BMI is calculated with the following formula:

BMI = Weight x 703 / Height 2

In the formula, weight is measured in pounds and height is measured in inches. The program should display a message indicating whether the person has optimal weight, is underweight, or is overweight. A sedentary person’s weight is considered to be optimal if his or her BMI is between 18.5 and 25. If the BMI is less than 18.5, the person is considered to be underweight. If the BMI value is greater than 25, the person is considered to be overweight.

· Module main ()

function main:

//Declare local variables

Declare Real weight, height, BMI, numerator, denominator

Display "This program will calculate a person's Body Mass Index (BMI)."

Call getWeight ( )

//Get height of person
Call getHeight ( )

//Calculate BMI
Call calculateBmi ( )

End module

// The getWeight module will accept weight of person.
Module getWeight ( )
Display "Enter the weight of person."
Input weight
End module

// The getHeight module will accept height of person
Module getHeight ( )
Display " Enter height of person."
Input height
End module

// The calculateBmi module will calculate the person's Body Mass Index.
Module calculateBmi ( )
Set numerator = weight x 703
Set denominator = height X height
Set BMI = numerator/denominator
Display " The BMI of the person is", BMI
End module

PUT HAND TRACE CHART HERE [4 points] (Your Hand Trace Chart should include a column for each of the variables defined in the pseudo code and a row for each line of code. Include an additional column to show output that is displayed to the user. See previous weeks for example of a hand trace chart.) Use a value of 155 for the weight and 66 for the height.

Statement #

Statement #

Explanation / Answer

//For preparing the Hand chart. Include these codes in the program given above

int Chart (height)

{

System.out.println (" For Your Height kindly not down the chart for ideal weight");

int minidealw = 18.5 * height*height /703;

int maxidealw = 24.9 * height*height /703;

int minovw = 25 * height*height /703;

int maxovw = 29.9 * height*height /703;

int obes = 30 * height*height /703;

System.out.println(" Less weight ideal weight Overweight Obese);

system.out.println (" < minidealw, minidealw - maxidealw, minovw - maxovw, > obes);

}