Write a menu driven C++ program that should perform following operation on matrices using 2D arrays. (Use OOP)
The program will first take inputs for both matrices from the user then perform following operations on them:
1. Add() This method will add two matrices.
2. Subtract() This method will subtract two matrices.
3. Multiply()This method will multiply two matrices but first check number of rows and columns of corresponding matrices and display "Not possible" in case of inequality in rows and columns.
4. AddScalar() This method will add scalar to a matrix by asking user in which matrix to add.
5. CheckTranspose()This method will ask from user which matrix you want to take transpose and then display its transpose.
6. CheckSymmetric()This method will check symmetric matrix
7.CheckIdentity()This method will check if the matrix is identity
Dont use pointers please use counters only..
Thank you very much.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here