Adding & Multipling Matrices
$30-5000 USD
Paid on delivery
Problem Description: Write a C program that uses pointer arithmetic to add and multiply two matrices. The program should execute in the following order: (1) Fill 3 separate matrices with zeroes; (2) Read (and store) the data for two matrices (i.e., read values from data file using redirection); (3) Add these two matrices and print the resulting matrix; (4) Multiply two matrices and print the resulting matrix; You must use the following function prototypes: void fill_zero (int *mat); void read_matrix (int *mat); void add (int *mat1, int *mat2, int *mat3); void multiply (int *mat1, int *mat2, int *mat3); void print (int *mat1, int *mat2, int *mat3); Note: □ Assume that the matrices to be read are 3x3 (i.e., 3 rows, 3 columns) □ You are not to use array indexing. □ You are free to format your output in an appropriate and organized manner, but you must include appropriate labeling. □ Please remember that file input redirection will be used in testing your program (i.e. we will create our own data file for grading your program).
## Deliverables
1) Complete and fully-functional working program in executable form as well as complete source code of all work done.
## Platform
Windows XP Home Edition, must compile on a C compiler using this operationg system.
Project ID: #2919715