Answer to Question #45452 in C++ for Caren

Question #45452
a program to add 2 two by two matrices
1
Expert's answer
2014-09-03T08:22:44-0400
void matrixDecrement(int matrix[SIZE][SIZE], int increment[SIZE][SIZE], int size) {
for ( int upper = 0; upper < size; upper++ ) {
for ( int lower = 0; lower < size; lower++ ) {
matrix[upper][lower] -= increment[upper][lower];
}
}
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS