Question: Hey can you help me write the code. Learning Objectives: - Using if/else statements to make decisions in a program - Printing a table with
Hey can you help me write the code.

Learning Objectives: - Using if/else statements to make decisions in a program - Printing a table with columns General Description Most substances have a freezing point and boiling point. When the temperature is below the freezing point, the substance is a solid. When the temperature is above the boiling point, the substance is a gas. When the temperature is between or equal to either point, the substance is a liquid. Using the following data for water, octane and mercury, write a program that: Asks the user to enter a temperature (in Celcius) - Determines the state of each substance at the temperature entered -Prints a report of the state of each of the three substances. Does the normal system pause at the end Substance Water Octane Mercu Freezing Point Boiling Point -57 -39 100 125 357 Example Execution: (user input in blue) Enter the temperature (C): -5 Substance State Water Octane MercuryLiquid Solid Liquid Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
