I have to do a program to multiply two matrices using 1d arrays, but I am not sure how to begin. What would I need to get from the user--the number of rows in the first array and cols in the second or just how many elements he/she will be inputting?

Also, say the user decides to use 3 rows for array for matrix 1, would I need to create 3 arrays to get the input?

any suggestions are appreciated. Thank you.