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.

Recommended Answers

Do you know how to create an array?

Jump to Post

All 2 Replies

Do you know how to create an array?

Do you REALLY want us to do your homework for you? Please, don't cheat. Try to code this yourself, and we might help you debug it... :-(

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.