Computer Science, asked by saifulahmedrr, 1 day ago

coding

Matrix Addition
Input:
Row: 4
Columns: 4
Array 1: 2 4 1 5
1 2 3 2
2 3 2 4
2 4 1 3

Array 2: 2 4 1 5
1 2 3 2
2 3 2 4
2 4 1 3

Output: 4 8 2 10
2 4 6 4
4 6 4 8
4 8 2 6
​​

Answers

Answered by uniquelady
0

Matrix Addition

Input:

Row: 4

Columns: 4

Array 1: 2 4 1 5

1 2 3 2

2 3 2 4

2 4 1 3

Array 2: 2 4 1 5

1 2 3 2

2 3 2 4

2 4 1 3

Output: 4 8 2 10

2 4 6 4

4 6 4 8

4 8 2 6

Similar questions