+ 1
Can any one clear this logic?
Write down generalized algorithm for a two dimensional array in such a way that it has the following relationships between input and output. Input output 2 5 7 0 5 14 3 1 6 3 2 18 2 3 6 4 9 24
1 ответ
+ 5
Hi Piyush Srivastava
Each line of the output is obtained by multiplying element-wise the input by:
0 1 2
1 2 3
2 3 4
Now you can try to write the algorithm.
Good luck.