Ask 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 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:

+3
Answers (1)
  1. 11 September, 10:15
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers