Write a function to read data into an array for matrix a


Problem: Computer Science

Using C++ program

Purpose: using 2-dimensional Array and template functions to Add, subtract and multiply two matrices.

Task:

Note: all functions must be written with template format

• Write one function for header

Header looks like:
Matrix operation:
Select A/a to add two matrices
Select S/s to subtract two matrices
Select M/m to multiply two matrices
Select T/t to select all types

• Write a function to ask the user for number of rows and columns for matrix A and/or matrix B

• Write a function to read data into an Array for matrix A

• Write a function to read data in an Array of matrix B

• Write a function to add two matrices

• Write a function to subtract to matrices

• Write a function to multiply two matrices ( use the one provided for you)

• In main () provide a switch and case statements to call those functions.

The project is for a 2 dimensional and 3 X 3 data.

The response should include a reference list. One-inch margins, Using Times New Roman 12 pnt font, double-space and APA style of writing and citations.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Write a function to read data into an array for matrix a
Reference No:- TGS03103496

Now Priced at $50 (50% Discount)

Recommended (94%)

Rated (4.6/5)