Write an if-else statement that outputs the word warning


Problem

Write an if-else statement that outputs the word Warning provided that either the value of the variable temperature is greater than or equal to 100, or the value of the variable pressure is greater than or equal to 200, or both. Otherwise, the if-else statement outputs the word OK. The variables temperature and pressure are both of type int.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write an if-else statement that outputs the word warning
Reference No:- TGS02745652

Expected delivery within 24 Hours