Question: Using C++, use a single 2D array with 3 columns and 19 rows for the temperature values, where the Fahrenheit values are stored in column
Using C++, use a single 2D array with 3 columns and 19 rows for the temperature values, where the Fahrenheit values are stored in column 0, the Celsius values are stored in column 1, and the Kelvin values are stored in column 2. This is illustrated below
| 32 |
|
|
| 42 |
|
|
| 52 |
|
|
| 62 |
|
|
| 72 |
|
|
| 82 |
|
|
| 92 |
|
|
| 102 |
|
|
| 112 |
|
|
| 122 |
|
|
| 132 |
|
|
| 142 |
|
|
| 152 |
|
|
| 162 |
|
|
| 172 |
|
|
| 182 |
|
|
| 192 |
|
|
| 202 |
|
|
| 212 |
|
|
Program Requirements:
Use a loop to assign the Fahrenheit values to column 0.
Use a loop to calculate and assign the Celsius and Kelvin values to columns 1 and 2.
Calculate and display the temperatures in three columns with a table heading to the monitor.
The program should send the output of the results to a data file. The name is specifies by the end user.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
