hey ..
how are u all ??
I have c++ problem .. i tried to solve it but i couldnt get the same input ..
here is the problem:
Given the following file called “input.txt” which contains the freezing and boiling points of several substances. Note: the title is not part of the data.
Substance Freezing Point Boiling Point (Celsius)
Ethyl 78 -114
Mercury 358 -38
Oxygen -188 -219
Water 100 0
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.
Input/Output Sample:
Enter the temperature: -30
Water freezes and Oxygen boils
we should use if-else to do it ..