Question: both in c++ please Dot Product Write a program that calculate and print the dot product of two vectors each has N decimal numbers. The
both in c++ pleaseDot Product Write a program that calculate and print the dot product of two vectors each has N decimal numbers. The dot product of two vectors is the product sum of each corresponding numbers. For example, [2, 5, 7]. [4, 8, 1] is 2*4 + 5*8 + 7*1 = 55. Sample inputs / outputs: Enter how many numbers: 3 Enter the 3 numbers of the first array: 2 57 Enter the 3 numbers of the second array: 481 The dot product is 55 Letters in Arrays Write a program that reads N characters in the array A, save the upper-case letters in the array U and the lower-case letters in the array L. The program then prints the two arrays U and L. See the given sample of input/output. Sample inputs / outputs: Enter how many characters: 15 Enter 15 characters: we are 345 Of the stuDents The upper-case letters are: EO The lower-case letters are: warefthest
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
