Question: INEC 2 2 1 4 Computing Methods for INEC I Fall 2 0 2 4 I Submit via Push to Github main branch. To submit
INEC Computing Methods for INEC I Fall I Submit via Push to Github main branch.
To submit Assignment push your project code to the main branch of your repository on Github.
Question
The files vectora.text and vectore, txit contain values for row and column vectors, respectively.
Given this information, complete the following tasks in Assignment @
a Read in the values from the two text files and store each vector in separate arrays.
b Calculate the dot product of the row and column vector created in Part a Display the result to the screen with an appropriate label.
c Modify your code so that if the length of the vectors created in Part a are not the same, the calculation in Part b is not made and an appropiate message is printed to the console.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
