Nearly 50% of adults in Malaysia are overweight or obese and nearly four in every ten adults have high blood pressure, also called hypertension. It can cause a lot of health problems such as stroke, heart disease, and kidney failure. Someone is considered as a high-risk patient when they have high blood pressure detected. Table 2 shows the category of blood pressure. Table 2. Category of blood pressure. Systolic mmHg >= 180 Diastolic mmHg >=120 Category Hypertensive crisis High blood pressure stage 2 High blood pressure stage 1 Elevated Normal OR >= 140 130 – 139 120 – 129 OR >=90 80 – 89 OR < 80 < 80 AND < 120 AND You are given a list of patient record as shown in Table 3, and you are required to write a program to perform the following operation. • Declare and store all the patient's information as listed in Table 3 using a suitable compound datatype. • Analyze each patient's blood pressure and identify if they are high risk patient. • Print the name, ID and blood pressure category of detected high-risk patients. • Print the total number of high-risk patients. Table 3. Patients' data. Name Blood pressure 140/57 122/55 107/75 124/80 No. Patient ID Age 28 1. 2. 3. 4. Jon 12 Kane 43 34 Sky Luna 16 56 57 78 5. Neo 31 90 148/120

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%

question : 

Develop the flow chart based on the given requirement or specification.

Nearly 50% of adults in Malaysia are overweight or obese and nearly four in every ten
adults have high blood pressure, also called hypertension. It can cause a lot of health
problems such as stroke, heart disease, and kidney failure. Someone is considered as a
high-risk patient when they have high blood pressure detected. Table 2 shows the
category of blood pressure.
Table 2. Category of blood pressure.
Systolic mmHg
Category
Hypertensive crisis
High blood pressure stage 2
High blood pressure stage 1
Diastolic mmHg
OR
>= 180
>=120
>= 140
OR
>=90
130 – 139
OR
80 – 89
< 80
< 80
Elevated
120 – 129
AND
Normal
< 120
AND
You are given a list of patient record as shown in Table 3, and you are required to
write a program to perform the following operation.
• Declare and store all the patient's information as listed in Table 3 using a
suitable compound datatype.
• Analyze each patient's blood pressure and identify if they are high risk patient.
• Print the name, ID and blood pressure category of detected high-risk patients.
• Print the total number of high-risk patients.
Table 3. Patients' data.
No.
Name
Age
28
Patient ID
Blood pressure
1.
Jon
12
140/57
2.
Kane
43
34
122/55
3.
Sky
16
56
107/75
4.
Luna
57
78
124/80
5.
Neo
31
90
148/120
Transcribed Image Text:Nearly 50% of adults in Malaysia are overweight or obese and nearly four in every ten adults have high blood pressure, also called hypertension. It can cause a lot of health problems such as stroke, heart disease, and kidney failure. Someone is considered as a high-risk patient when they have high blood pressure detected. Table 2 shows the category of blood pressure. Table 2. Category of blood pressure. Systolic mmHg Category Hypertensive crisis High blood pressure stage 2 High blood pressure stage 1 Diastolic mmHg OR >= 180 >=120 >= 140 OR >=90 130 – 139 OR 80 – 89 < 80 < 80 Elevated 120 – 129 AND Normal < 120 AND You are given a list of patient record as shown in Table 3, and you are required to write a program to perform the following operation. • Declare and store all the patient's information as listed in Table 3 using a suitable compound datatype. • Analyze each patient's blood pressure and identify if they are high risk patient. • Print the name, ID and blood pressure category of detected high-risk patients. • Print the total number of high-risk patients. Table 3. Patients' data. No. Name Age 28 Patient ID Blood pressure 1. Jon 12 140/57 2. Kane 43 34 122/55 3. Sky 16 56 107/75 4. Luna 57 78 124/80 5. Neo 31 90 148/120
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY