Patch Up Two Matrices
Patch Up Two Matrices For this challenge, you need to take 2 matrices as an input from the stdin , add them and print the resultant matrix to the stdout. Input Format Two matrices to be taken as an input. For each matrix, on first line you need to tell that how many rows and columns your matrix need to have and these values should be separated by space. Then after that, each line will represent will represent each row and you need to enter numbers which each rows should have separated by a space. Constraints 1 < (n,m) < 100 1 < (p,q) < 100 Output Format Print the resultant matrix to the stdout where each each line should represent Note : Please do not include space after the numbers which are in the last column as it will affect your submission and you will not get marks. each row and values in the row should be separated by a space. Sample TestCase 1 Input 3 3 1 2 3 4 5 6 7 8 9 3 3 2 3 4 5 6 7 7 8 9