Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In C++ Matrixes A Matrix is a 2-dimensional array represented as a row x column data structure. Vertical Additive Symmetric Matrix A matrix of integer

In C++

Matrixes A Matrix is a 2-dimensional array represented as a row x column data structure. Vertical Additive Symmetric Matrix A matrix of integer numbers is defined to exhibit vertical additive symmetry if the sum of the numbers in the columns of the matrix exhibits vertical symmetry. In a in a list with an odd number of columns, the middle column is considered symmetric with itself. Examples: Vertical Additive Symmetric Matrixes | 2 56 3 1 7 | 11 1 7 12 8 2 10 | 10 1 3 0 1 3 3 | -1 4 -- -- -- -- -- | -- -- 12 | 12 6 20 | 20 6 |---------| |-------| |-------------------| Not Vertical Additive Symmetric Matrixes | 3 56 3 2 7 | 11 1 7 12 8 2 10 | 10 1 3 0 1 3 3 | -1 4 -- -- -- -- -- | -- -- 13 | 12 7 20 | 20 6 |---- X----| |---|---| |--------X----------| Your program must read a file of candidate matrixes that are specified in the file the following way: The first file row contains 2 space delimited numbers for the number of rows and columns in the matrix that follows. The matrix that follows consists of numbers in the form of multiple lines of space delimited numbers. In this project, no valid input should have more than 20 rows and columns. The file name to be read is to be matrixes.txt. The file must contain at least 10 candidate matrixes. 6 of the matrixes must be valid and 4 must invalid. You are only responsible for checking the following regarding the input file: If the file open fails Correctly detecting the end of the file o The program should operate correctly even if there are blanks at the end of the file. The program does not have to check for data or format errors in the file. The submittal must include a matrixes.txt file that demonstrates adequate testing of the program to make sure it runs correctly. The program must : Process each matrix one at a time All data displays can assume that each matrix entry is made up at most with 5 integer places. All data displays must be in a in a well formatted tabular style using spaces Display the inputted matrix Display a data list of the column vertical additive sums Display the sorted matrix rows o Display each row of the matrix in ascending order, one row per line of output Display a message that states whether this matrix has vertical additive symmetry Vertical Additive Symmetric Matrix Display a message that pauses the screen and states to enter a key to continue Review the rules in the Required Best Practices document posted to the eLearning system. Ensure your program is well documented, well structured, modular and uses meaningful variable names. Use functions, with parameters, as necessary for good structure and readability. Do not use global variables. All functions must exist after the main () functions, so use function prototypes. Use the following code to pause the screen: #include : cout image text in transcribedimage text in transcribed

Vertical Additive Symmetric Matrix Matrixes A Matrix is a 2-dimensional array represented as a row x column data structure. Vertical Additive Symmetric Matrix A matrix of integer numbers is defined to exhibit vertical additive symmetry if the sum of the numbers in the columns of the matrix exhibits vertical symmetry. In a in a list with an odd number of columns, the middle column is considered symmetric with itself. Examples: Vertical Additive Symmetric Matrixes 1 2 56 3 1 71 11 7 12 8 2 101 10 3 0 1 3 3 -1 1 12 1 12 6 20 I 20 |------- 1 1 4 6 Not Vertical Additive Symmetric Matrixes 1 56 12 0 3 8 1 2 2 3 71 10 3 11 10 -1 1 1 4 I 6 13 1 12 |---- X---- 7 20 I 20 ------ I-------- Your program must read a file of candidate matrixes that are specified in the file the following way: The first file row contains 2 space delimited numbers for the number of rows and columns in the matrix that follows. The matrix that follows consists of numbers in the form of multiple lines of space delimited numbers. In this project, no valid input should have more than 20 rows and columns. The file name to be read is to be matrixes.txt. The file must contain at least 10 candidate matrixes. 6 of the matrixes must be valid and 4 must invalid. . You are only responsible for checking the following regarding the input file: If the file open fails Correctly detecting the end of the file The program should operate correctly even if there are blanks at the end of the file. The program does not have to check for data or format errors in the file. The submittal must include a matrixes.txt file that demonstrates adequate testing of the program to make sure it runs correctly. The program must : Process each matrix one at a time All data displays can assume that each matrix entry is made up at most with 5 integer places. . . The program must : Process each matrix one at a time All data displays can assume that each matrix entry is made up at most with 5 integer places. All data displays must be in a in a well formatted tabular style using spaces Display the inputted matrix Display a data list of the column vertical additive sums Display the sorted matrix rows Display each row of the matrix in ascending order, one row per line of output Display a message that states whether this matrix has vertical additive symmetry . o Vertical Additive Symmetric Matrix Display a message that pauses the screen and states to enter a key to continue Review the rules in the Required Best Practices document posted to the eLearning system. Ensure your program is well documented, well structured, modular and uses meaningful variable names. Use functions, with parameters, as necessary for good structure and readability. Do not use global variables. All functions must exist after the main () functions, so use function prototypes. Use the following code to pause the screen: #include : cout

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions