Write a program that asks the user to enter a temperature


Given the following file called "input.txt" which contains the freezing and boiling points of several substances. 
Note the subtitle "Substance Freezing Point (Celcius) Boiling Point (Celcius)" is not part of the input.

Substance Freezing Point (Celsius) Boiling Point (Celsius) 
Ethyl -114 78
Mercury -38 358
Oxygen -219 -188
Water 0 100

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 the substances that will boil at that temperature. 
For example, if the user enters -30 the program should report that water will freeze and oxygen will boil at that temperature.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a program that asks the user to enter a temperature
Reference No:- TGS0130178

Expected delivery within 24 Hours