Question
Freezing and Boiling Point The following table lists the freezing and boiling points of several substances. Write a program that asks the user to enter
Freezing and Boiling Point
The following table lists the freezing and boiling points of several substances. Write a program that asks the user to enter a temperature, and then shows all the substances that will freeze at that 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 that temperature. Test your program for the substances list below:
Substance | Freezing Point (F) | Boiling Point (F) |
Ethyl alcohol | -173 | 172 |
Mercury | - 38 | 676 |
Oxygen | -362 | -306 |
Water | 32 | 212 |
Make FLOWCHART and SOURCE CODES
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started