Question: Question 2 3 [ 3 . b ] Write an if - if - else - else statement to output a message according to the
Question
b Write an ififelseelse 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 psi
Output, "Boiler Pressure: TOO LOW" if the value of boilerPressure is below psi
Otherwise output, "Boiler Pressure: WITHIN normal limits
Edit Format Table
Paragraph I,
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
