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:

The main menu of your application should be:
  1. Add two integers
  2. Add three integers
  3. Add two matrices
  4. Add three matrices
  5. Multiply two integers
  6. Multiply three integers
  7. Multiply two matrices
  8. Multiply three matrices
  9. Subtract two integers
  10. Subtract three integers
  11. Subtract two matrices
  12. Subtract three matrices
  13. Exit
Each option should get corresponding input from the user and display the result of the operation.