Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Programming Language: C# We all know that water can exist in solid, liquid and gaseous form. Using Visual Studios Write a program that inputs the
Programming Language: C#
- We all know that water can exist in solid, liquid and gaseous form. Using Visual Studios Write a program that inputs the temperature for water in degrees Celsius, converts the temperature to degrees Fahrenheit according to the formula F = 9.0/5.0 * C + 32.0 and then prints both temperatures to a list box, message box or text box(s). In addition, the program will print the form of water (solid, solid or liquid, liquid, liquid or gas, gas.) at that temperature under normal conditions on earth.
For example: if 30 degrees C is entered the output will be: 30 degrees Celsius equals 86 degrees Fahrenheit. Water at this temperature is a liquid.
NOTE:
- Water can be liquid or solid at 0.0 degrees C
- Water is solid at temperatures less than 0.0 degrees C
- Water can be a liquid or gas at 100 degrees C
- Water is a gas at temperatures greater than 100.0 degrees C
Test the program with the following temperatures C: -5.5, 0.0, 50.0, 100.0, and 110.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started