Question: Program 4 Output needs to be shown Program 4. File Input and Output 1.0 Using the temps.txt data file (Located on the Data Canvas Page)
Program 4. File Input and Output 1.0 Using the temps.txt data file (Located on the Data Canvas Page) which has temperatures in degrees Celsius create a new data file (table.txt) that consists of a table of temperatures in Celsius, Fahrenheit and Kelvin. The equation to convert Celsius to Fahrenheit is: F-9.0/5.0 Celsius+32.0 To convert Celsius to Kelvin add 273.15 degrees. The table should have headings for each temperature as shown below. Celsius Fahrenheit 0 212 Kelvin 32.0 100 Upload the output file to Canvas 305.15 405.15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
