Question: Q3) The table below shows the normal boiling points of several substances. Write a program that prompts the user for the observed boiling point of
Q3) 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 ℃ 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. Also program has to ask the boiling points until the user input 0.
Step by Step Solution
★★★★★
3.42 Rating (158 Votes )
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
