On a time crunch. No idea how to do it at all please help. \"Write a C++ program
ID: 3632839 • Letter: O
Question
On a time crunch. No idea how to do it at all please help."Write a C++ program in a script file that creates a n x m 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 =
1 2 3
2 4 7
3 7 14
>>enter the rows4
>>enter the columns5
A =
1 2 3 4 5
2 4 7 11 16
3 7 14 25 41
4 11 25 50 91