Opening the reading…
Opening the reading…
DSA FUNDAMENTALS › MATRIX BASICS
This is a scratch drill — your code runs, nothing is graded or recorded. No test cases, no expected output, no verdict.
TASK
Store matrices A and B, use nested loops to compute A + B and A - B at each matching [i][j] position, and print both 2 by 3 result matrices.
OUTPUT
SampleA + B: 4 5 2 9 3 10 A - B: 2 -7 6 -5 -3 0
What a finished answer prints, from the lesson. Nothing has run yet — press Run and this is replaced by your program’s own output.