Problem2171--Boiler Pressure alert

2171: Boiler Pressure alert

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 0  Solved: 0
[Submit] [Status] [Web Board] [Creator:]

Description

Write multiway if-else statements for which the output is “Alarm: Boiler Pressure: TOO HIGH” if the value of the variable boiler_pressure is greater than 1000 (psi), and the output is “Boiler Pressure: TOO LOW” if the value of boiler_pressure is below 100(psi), otherwise the output is “Boiler Pressure: within normal limits.”

Input

Given a postive integer boiler_pressure

Output

Reminders for different situations of boiler pressure

Sample Input Copy

1200

Sample Output Copy

Alarm: Boiler Pressure: TOO HIGH

Source/Category

6