Complete the following program When a machine reads blood pressure from a human body it displays two numbers they are called Systolic and Diastolic pressures. The program will take systolic and diastolic reading as input from the user and displays a message whether the person's plood pressure is "Normal" or "Elevated" or "High Blood Pressure". Program consists of two functions as follows. rold input(. .).This function is with two pass by reference parameters, and it reads input from the user. itring process(.): It receives two numbers(systolic and diastolic) and then it determines and returns a category Iccording to the table below. Category Normal Systolic 80 to 120 120 to 139 High blood equal and above 140 Diastolic and 60 to 80 and 80 to 90 Elevated pressure above 90 or main () program is given below and you are asked to write the function definitions in the space provided below #include #include using namespace std; void input(int & int &); string process(int, int); int main() int systolic, diastolic; input(systolic, diastolic); // input) called to read input cout<
Complete the following program When a machine reads blood pressure from a human body it displays two numbers they are called Systolic and Diastolic pressures. The program will take systolic and diastolic reading as input from the user and displays a message whether the person's plood pressure is "Normal" or "Elevated" or "High Blood Pressure". Program consists of two functions as follows. rold input(. .).This function is with two pass by reference parameters, and it reads input from the user. itring process(.): It receives two numbers(systolic and diastolic) and then it determines and returns a category Iccording to the table below. Category Normal Systolic 80 to 120 120 to 139 High blood equal and above 140 Diastolic and 60 to 80 and 80 to 90 Elevated pressure above 90 or main () program is given below and you are asked to write the function definitions in the space provided below #include #include using namespace std; void input(int & int &); string process(int, int); int main() int systolic, diastolic; input(systolic, diastolic); // input) called to read input cout<
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter4: Selection Structures
Section4.3: Nested If Statements
Problem 7E
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning