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
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
Get step-by-step solutions from verified subject matter experts
