You easily can define arrays with more than one dimension: You simply add
more bracketed dimension sizes. For example, to define a double
array with 2 rows and 100 columns, you proceed as follows:
int 2_d_array[2][100];
Write writer functions to write the lengths and radii of cylinders in such an array. Use your writers to store cylinder radiuslength pairs provided in a file. Then, write readers to help you determine the average radius, length, and volume of the cylinders.