Question: QUESTION # 4 : Write a complete C + + program that: 1 2 0 pts ] defines an array consisting of 4 8 pressure

QUESTION #4:
Write a complete C++ program that:
120 pts]
defines an array consisting of 48
pressure of a patient in one da elements of type int representing the hourly readings of blood with any non-negative values (2 values per hour: upper and lower) and initialize the array
At the beginning of a new lin such as: 130,84,140,90,dots,120,80.
At the beginning of a new line, prints all upper values separated by space as shown below.
finds and prints with proper, prints all lower values, each is preceded by #s sign as shown below.
Your program should produce the output as shown in the sample run below
Sample Run for the array containing 10 values: 130,84,140,98,145,87,132,75,120,80
The upper values are:130140,145,132120
The lower values are:#84#98#87#75#80
The largest upper value is 145
The smallest lower value is 75
#include
 QUESTION #4: Write a complete C++ program that: 120 pts] defines

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!