The following table lists the freezing and boiling points of several substances.
ID: 3535084 • Letter: T
Question
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.
Substance Freezing Point (F) Boiling Point (F) Ethyl Alcohol -173 172 Mercury -38 676 Oxygen -362 -306 Water 32 212Explanation / Answer
I use MS visual studio 2005.net. Code follows; #includeusing namespacestd;int main(){ int temp; cout > temp; int Freezing_E=-173,Freezing_M=-38, Freezing_O=-362, Freezing_W=32; int Boiling_E=172, Boiling_M=676,Boiling_O=-306,Boiling_W=212; if(tempFreezing_M) coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.