Question: Basic C homework problem. Please include comments on the code! 3. Boiling Point Table 1 shows the normal boiling points of several substances. Write a

Basic C homework problem. Please include comments on the code!

Basic C homework problem. Please include comments on the code! 3. Boiling

3. Boiling Point Table 1 shows the normal boiling points of several substances. Write a program that prompts the user for the observed boiling point of a substance in degrees Celsius 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, it should output Unknown substance Enter the temperature: 105 105 C is the boiling point of Water Enter the temperature: 5000 5000 C is the boiling point of unknown substance Substance Boiling Point (C) Methane Butane Water Nonanc Mercury Copper Silver Gold 161.7 0.5 100 150.8 357 1187 2660

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!