Ask Question
21 September, 02:31

Write down the pseudo code of a program that calculates the Body Mass Index (BMI) of

a person. The program asks the user to enter this/her height in meter and weight in kg.

Then the program should display the user BMI scale and the corresponding category. Use

the following formula to compute the BMI scale:

BMI scale

weight

height2

Categories

BMI Scale

Underweight

<18.5

Normal

18.5-24.9

Overweight

25.0-29.9

Obesity

>30.0

Problem 3:

+2
Answers (1)
  1. 21 September, 03:36
    0
    A pseudo code was used in calculating the body mass index (BMI) of a person. The code was executed and can be shown on the explanation section below

    Explanation:

    Solution

    #Pseudocode program to calculate the BMI of a person

    Input height in meter

    Input weight in kg

    BMI = Weight / (height) 2

    If BMI < 18.5 then

    Print output as "Underweight"

    ElseIf BMI > = 18.5 and BMI < 24.9 then

    Print output as "Healthy"

    ElseIf bmi > = 24.9 and BMI < 30

    Print output as "overweight"

    Else BMI >=30 then

    Print output as "Obesity"

    End if
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write down the pseudo code of a program that calculates the Body Mass Index (BMI) of a person. The program asks the user to enter this/her ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers