The following table lists the freezing and boiling points of several substances. Substance Freezing Pt. (Fo) Boiling Pt (Fo) Ethyl Alcohol -173 172 Mercury -38 676 Oxygen -362 -306 Water 32 212 Write a Python program that will prompt the user to enter an input temperature in Fahrenheit degrees and then will indicate which substances will freeze and which substances will boil when given an input temperature. Show all the substances that will freeze at the temperature that was input and all the substances that will boil at the temperature that was input. Examples Given: Freezing and Boiling Points Enter a temperature: -20 Freezing: Water Boiling: Oxygen End of results Another example: Freezing and Boiling Points Enter a temperature: 250 Freezing: No substances Boiling: Ethyl Alcohol Water End of results

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 28PE
icon
Related questions
Question

The following table lists the freezing and boiling points of several substances. 

Substance Freezing Pt. (Fo) Boiling Pt (Fo)
Ethyl Alcohol -173 172
Mercury -38 676
Oxygen -362 -306
Water 32 212

Write a Python program that will prompt the user to enter an input temperature in Fahrenheit degrees and then will indicate which substances will freeze and which substances will boil when given an input temperature. Show all the substances that will freeze at the temperature that was input and all the substances that will boil at the temperature that was input.

Examples Given:

Freezing and Boiling Points

Enter a temperature:  -20

Freezing:

     Water

Boiling:

     Oxygen

 

End of results


Another example:

Freezing and Boiling Points

Enter a temperature:  250

Freezing:

     No substances

Boiling:

     Ethyl Alcohol
     Water

 

End of results

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Structure chart
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning