Answer to Question #247676 in Algorithms for Bjoy

Question #247676
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
1
Expert's answer
2021-10-06T11:46:07-0400

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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS