Write a Java code to accept temperature value from user (in centigrade) and display an appropriate message as below.   FREEZING if temperature in less than 0 COLD if temperature is between0 to 15 WARM if temperature is between16 to 30 HOT if temperature is between31 to 40 VERY HOT if temperature is greaterthan 4

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter6: Looping
Section: Chapter Questions
Problem 8PE
icon
Related questions
Question
Write a Java code to accept temperature value from user (in centigrade) and display an appropriate message as below.   FREEZING if temperature in less than 0 COLD if temperature is between0 to 15 WARM if temperature is between16 to 30 HOT if temperature is between31 to 40 VERY HOT if temperature is greaterthan 40
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 3 images

Blurred answer
Knowledge Booster
Constants and Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT