I am having trouble with a Matrix problem. I want to only specify the amount of columns before asking the user to input their vectors, and using input redirection to read the values in.
Example:
3 (Columns)
1 2 0
1 5 0
1 4 4
What should my loop look like and how would I store them in their respective places, I am quite confused and new to arrays in general. I know how to do this if I can ask for both columns and rows, but this is more complicated.