Question: 4 USING THE SWITCH STATEMENT & JOptionPane for input and output - Write a java program where the user enters a temperature as a whole

 4 USING THE SWITCH STATEMENT & JOptionPane for input and output

4 USING THE SWITCH STATEMENT & JOptionPane for input and output - Write a java program where the user enters a temperature as a whole number from input, and outputs a "most likely" season (either SUMMER, SPRING, FALL or WINTER) depending on the temperature entered. Either enter 40 or 60 or 80 or 100 SUMMER would be 100 SPRING would be 80 FALL would be 60 WINTER would be 40 Consider it an error if the user ever accidentally enters any other value. Enghus 43 Words

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!