Answered step by step
Verified Expert Solution
Question
1 Approved Answer
/ / 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started