0% found this document useful (0 votes)
83 views2 pages

PSPD Practice 1

The document contains the names of two group members working on a practice project. It then lists an algorithm, pseudocode, and flowchart for a BMI calculator. The algorithm outlines 5 categories for BMI ranges: underweight, normal, overweight, and obese. The pseudocode and flowchart show the program logic to get the BMI value as input and then output the corresponding category based on conditional statements checking the BMI range.

Uploaded by

laurynna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
83 views2 pages

PSPD Practice 1

The document contains the names of two group members working on a practice project. It then lists an algorithm, pseudocode, and flowchart for a BMI calculator. The algorithm outlines 5 categories for BMI ranges: underweight, normal, overweight, and obese. The pseudocode and flowchart show the program logic to get the BMI value as input and then output the corresponding category based on conditional statements checking the BMI range.

Uploaded by

laurynna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

GROUP MEMBER :

PRACTICE
1.LAURYNNA ANN A/P
2.NITHIYA DARSHINI A/P SUKUNARAN(01DDT20F1041)

ALGORITHM
1.Recieve BMI value
2.If the BMI=(<18.5),category is ‘Underweight’
3.If the BMI =(18.5-24.9),then category is ‘Normal’
4. If the BMI =(25-29.9),then category is ‘overweight’
5. If the BMI=(0.00-1.79),then category is ‘obese’
PSEUDOCODE
START
GET BMI
If (BMI<=18.5),display status ‘Underweight’
Else if (BMI>=18.5)&&(<24.9),display ‘Normal’
Else if (BMI>=25)&&(<=29.9),display ‘Overweight’
Else (BMI>=30),display ‘Obese’
End if
END
FLOW CHART

START

“GET BMI”

BMI<= YES
18.5 ‘under weight’

NO

YES
“BMI>=18.5)& ‘normal’
&(BMI<=24.9

NO

YES
“BMI>=25)&&(BMI<
=29.9) ‘over weight’

NO

YES
(BMI>=30 ‘obese’
)
NO

END

You might also like