0
I have an exercise in Java here to solve but I could not understand exactly what I need to do, if anyone can give me a better explanation thank you! This is what I need to do:
Given the vectors A = [1,2,3,4,5]
and B = [1,2,3,4,5]
, create algorithms to generate a matrix C of the multiplication of the elements of A by the elements of B. Note that
C[1,1] <- A[1,1] * B[1,1]
C[1,2] <- A[1,1] * B[1,2]
C[1,3] <- A[1,1] * B[1,3]
...
What number would B[1,2] ?
– Mathiasfc
The number 2 in the case
– Leonardo