Question: Project 1: Matrix manipulation implementing overloaded operators using arrays Write a C++ program to declare a class called Matrix. The private data of the class
Project 1: Matrix manipulation implementing overloaded operators using arrays Write a C++ program to declare a class called Matrix. The private data of the class are Row, Column, and matrix. The Matrix class should at least have the following member functions: . Constructor to initialize the content of the matrix to zero 5. Read Matrix Overloaded operator plus to add two matrices Overloaded operator minus to subtract two matrices Overloaded operator multiplication to multiply two matrices Overloaded operator division to divide two matrices Find transpose of each matrix Display a matrix Destructor In the main function, do as follows: Declare object Matrix A; Declare object Matrix B; Declare object Matrix_Add; Declare object Matrix_Dif; Declare object Matrix Mul; Declare object Matrix_Div; Call Matrix_A.Read_MatrixO Call Matrix B.Read_Matrixo Call overloaded operator+0 to add two matrices and store the result in Matix_Add
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
