Question: Please help, I don't really understand c++ Implement an NxN matrix calculator in C++: - Define N in your program as a constant. - Upon
Please help, I don't really understand c++ Implement an NxN matrix calculator in C++: - Define N in your program as a constant. - Upon starting, generate an NxN matrix with random elements. Make sure that the elements are in the range [-9, 9]. - Implement a function to accept and print the matrix. Then show the matrix on the screen. - Ask the user for the desired operation. The calculator needs to support three operations: o Sum of the main diagonal (s) o Minimum element (m) o Transpose(t) - You must implement each of these operations in separated functions. - After executing the operation, show the result on the screen. - Ask the user for another operation or to quit (q).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
