Question: Write a Java program that generates a random number between 5 0 and 1 5 0 that represents the temperature in Celsius of a pot

Write a Java program that generates a random number between 50 and 150 that represents the temperature in Celsius of a pot of boiling water on a stove, and determine if the water is hot enough to cook the following vegetable:
Beans: cook at 100 degrees Celsius
Inputs: The program must prompt the user for the temperature that beans cook at.
Enter the temperature in Celsius that beans cook at:
Output: The program should tell the user if the water is hot enough to cook the beans.
The water temperature is
 Write a Java program that generates a random number between 50

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!