Question: Question 2 3 [ 3 . b ] Write an if - if - else - else statement to output a message according to the

Question 23
[3.b] Write an if-if-else-else statement to output a message according to the following conditions:
Assume variable boilerPressure has been declared and assigned with the proper value)
Output, "Boiler Pressure: TOO HIGH" if the value of boilerPressure is greater than 1000(psi)
Output, "Boiler Pressure: TOO LOW" if the value of boilerPressure is below 100(psi)
Otherwise output, "Boiler Pressure: WITHIN normal limits."
Edit Format Table
12ptvv Paragraph vv|B,I,UA?vvQ??vvT2vv||vdots|
 Question 23 [3.b] Write an if-if-else-else statement to output a message

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!