Write a program in a script file that creates a nxm matrix with elements that have the following values. The values of the elements in the first row is the number of the column. The value of the element in the first column is the number of the row. The rest of the elements are equal to the sum of the element above them and the element to the left. When executed, the program asks the user to enter values for n and m.
Hint: Use for and if else if else loops Your Solution should look like this:
enter the rows3
enter the columns3
>>A = 123 247 3 7 14
enter the rows4
enter the columns5
>>A = 12345 24 7 11 16 7 14 25 41 11 25 5091