Question: In Java using JOptionPane: The following table lists the freezing and boiling points of several substances. Write a program that asks the user to enter

In Java using JOptionPane: The following table lists the freezing and boiling points of several substances. Write a program that asks the user to enter the temperature, and then shows all the substances that will freeze at the temperature and all that will boil at that temperature. For example, if the user enters -20 the program should report that water will freeze and oxygen will boil at the temperature also the elements that have no change. Add Looping Structure to be able to enter another temperature before program is exited.

Substance Freezing Point ( F) Boiling Point ( F) Ethyl alcohol -173 172 Mercury -38 676 Oxygen -362 -306 Water 32 212 Example: -20 Ethyl alcohol No Change Mercury No Change Oxygen Boils Water Freezes

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!