The table below shows the normal boiling points of several substances. Write a program that prompts the user for the observed boiling point of a substance in ºC and identifies the substance if the observed boiling point is within 5% of the expected boiling point. If the data input is more than 5% higher or lower than any of the boiling points in the table, the program should output the message "Substance unknown."
So this is my problem, I figure to use the absolute function and then divide it with a known substance value and compare it to 0.05 to determine the substance. This is my first month learning a computer program. This is what I have so far...
I have not learned the if statements but I want to get this first and I think I can learn the if statements on my own.
Thank you!