#include using namespace std; //global, so that we don't have to pass this into every fuction const int row = 4; const int col = 4; //prints a matrix void printMatrix(double X[][col]) { for(int i=0; i>Y[i][j]; } // Adds 2 matrices void addMatrix(double A[][col], double B[][col], double C[][col]) { for(int i=0; i