Question: Write program using C++ code. Requirements e Obtain a file name from the user, which will contain data pertaining to a 2D array Create a

 Write program using C++ code. Requirements e Obtain a file name
Write program using C++ code.

Requirements e Obtain a file name from the user, which will contain data pertaining to a 2D array Create a file for each of the following: averages.txt: contains the overall average of the entire array, then the average of each row reverse.txt: contains the original values but each row is reversed flipped.txt: contains the original values but is flipped top to bottom (first row is now the last row etc.) If the dimensions of array are symmetric (NxN), create a diagonal.txt: contains the array mirrored on the diagonal Example files The input file will be formatted in the following way cnun rows> cnum colss

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!