1. Engineering
  2. Computer Science
  3. c i need help writing code that takes in a...

Question: c i need help writing code that takes in a...

Question details

C++

I need help writing code that takes in a matrix from user input and stores it in a linked list then prints it back out along with the number of rows and columns. The program won't know the size of the matrix beforehand.

For example, the user will input

2 3 3 4

3 4 5 6

1 1 2 5

and the program will have to read this and store it in a linked list then print it back out along with "3 rows and 4 columns"

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution