Submission Deadline: 14-June-2003 half hour before the class.
Submission Folder: matrix12_6
Assignment:
Write overloaded functions for multiplication, addition, and subtraction of two dimensional integer arrays of 3 X 3. Minimize the number of functions you have to write by using default arguments.
i.e. your function should multiply, add and subtract 3 X 3 matrices using Multiply, Add and Subtract functions. for example
int a[3][3];
int b[3][3];
int c[3][3];
Add (a, b)
Multiply (a, b)
Subtract (a, b, c)
etc.
Input format:
User should populate two matrices of 3 X 3. then user should be shown the resultant matrix.
All the functions Add, multiply, and subtract should be able to operate on: