Question: Java programing course ====== Write a program that reads a temperature and prints the weather is hot if the temperature is higher or equal to
Java programing course ======
Write a program that reads a temperature and prints the weather is hot if the temperature is higher or equal to 25. The weather is warm if the temperature is higher or equal to 15. The weather is cold when the temperature is lower than 15.
Example of the output:
| Enter temperature: 30 The weather is hot Enter temperature: 2 The weather is cold |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
