Computer Science, asked by anjali805tiwari, 5 months ago

you are provided with the number of rows i.e. r and columns i.e. c as the input and your job is to create a matrix of size rxc.
Also, the matrix should have elements starting from 1 to rxc with an increment of one in row manner.

Answers

Answered by sweetyhema757
0

Answer;

You saw how to create Magic Square of different sizes. ... In this assignment, you will be provided with the number of rows i.e. r and columns i.e. c as the input and your job is to create a matrix of size rxc. Also, the matrix should have elements starting from 1 to rxc with an increment of one in row manner.

Explaination;

Attachments:
Similar questions