How can I write a C++ program that defines three 1D arrays with 19 elements in each array. The
arrays will be used to store temperatures in degrees F, degrees C, and Kelvin and Use a loop to
initialize the array with degrees F values to 32, 42, 52, …, 212.
The program should then calculate the corresponding array values for degrees C and Kelvin.
Display the results neatly in a table with three columns (one for degrees F, one for degrees C,
and one for Kelvin) and including table headings with units.
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.