Question: / / Program Pressure prints an appropriate message based on a / / pressure reading input from the keyboard #include using namespace std; int main
Program Pressure prints an appropriate message based on a
pressure reading input from the keyboard
#include
using namespace std;
int main
int pressure;
cout "Enter an integer pressure reading."
Press return. endl;
cin pressure;
FILL IN Statements
return ;
Exercise
Insert a statement that writes the following warning to the screen if the pressure reading is greater than
Warning!! Pressure reading above danger limit
Run your program using the following values as input: Show the statement you
added and results for the input values in the report.
Exercise
Change the program in Exercise so that the warning message will be displayed for pressure greater than
otherwise the following message will be displayed:
Everything seems normal.
Run your program using the values in Exercise Show the statements you added and the results for the
input values in the report.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
