Question: Using C++, generate a row vector A and a column vector B of the same size specified by the user. Both A and B contain
Using C++, generate a row vector A and a column vector B of the same size specified by the user. Both A and B contain as elements random integers from 0 to 100. Calculate the following quantities:
(a) The sum of A and B.
(b) A minus B.
(c) The inner product of A and B.
(d) The outer product of A and B.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
