Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java. Write a program that prints messages for weather. The program will get Fahrenheit degree from user input and print out following messages on the

Java.

Write a program that prints messages for weather. The program will get Fahrenheit degree from user input and print out following messages on the screen:

If temperature in Fahrenheit is over 100, print out message Give us Ice! we are almost dead!!.

If temperature in Fahrenheit is over 95, print out message It's too hot!.

If temperature in Fahrenheit is over 86, print out message It's still hot!.

If temperature in Fahrenheit is over 77, print out message It's O.K!.

If temperature in Fahrenheit is over 68, print out message It's good to do exercise!.

If temperature in Fahrenheit is over 50, print out message It'scool !.

If temperature in Fahrenheit is over 32, print out message It's chilly!.

If temperature in Fahrenheit is less than 32, print out message Its cold!.

use if... else if... else structure what we studied in the class.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Seven Databases In Seven Weeks A Guide To Modern Databases And The NoSQL Movement

Authors: Luc Perkins, Eric Redmond, Jim Wilson

2nd Edition

1680502530, 978-1680502534

More Books

Students also viewed these Databases questions

Question

=+Have they changed the way employees view IP?

Answered: 1 week ago