using only #include/#iomanip/#cmath nothing else////if else if ///switch///break
ID: 3535048 • Letter: U
Question
using only #include/#iomanip/#cmath nothing else////if else if ///switch///break...nothing complicated plz
Freezing and Boiling Points
The following table lists the freezing and boiling points of several substances.
-173
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.
Enter a temperature:-400
substance will freeze at -400 degrees:
Ethyl alcohol
Mercury
Oxygen
water
substances will boil at -400 degrees:
None.
press any key to continue....
---------------------------------------------------------------------------------
Enter a temperature:700
substance will freeze at 700 degrees:
None
substances will boil at 700 degrees:
Ethyl alcohol
Mercury
Oxygen
water
press any key to continue....
---------------------------------------------------------------------------------
Enter a temperature:-38
substance will freeze at -38 degrees:
Mercury
water
substances will boil at -38 degrees:
oxygen
press any key to continue
Substance Freezing Point (F) Boiling Point (F) Ethyl Alcohol-173
172 Mercury -38 676 Oxygen -362 -306 Water 32 212Explanation / Answer
please rate
http://ideone.com/sUGqED
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.