Question: Write an application that prompts the user for the days high and low temperatures. If the high is greater than or equal to 90 degrees,
Write an application that prompts the user for the days high and low temperatures. If the high is greater than or equal to 90 degrees, display the message, Heat warning. If the low is less than 32 degrees, display the message Freeze warning. If the difference between the high and low temperatures is more than 40 degrees, display the message, Large temperature swing. Save the file as Temperatures.java.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
