Write the algorithm that will display " IT'S COLD!" if the temperature is less than 20 " IT'S HOT!" if the temperature greater than 30, "COOL!" otherwise
x \\ text on display
t \\ temperature
if t<20 then
x="IT'S COLD!"
else if t>30 then
x="IT'S HOT!"
else
x="COOL!"
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
Algorithms