In: Computer Science
Write a program that takes two integer arrays a and b of size n from the user, the use a method product to find the product of a and b and return the results after storing them in an array c, then prints the returned results to the screen. (Note: c[i] = a[i] * b[i], for i = 0, ..., n-1)
Sample Output:
Enter the size of your arrays: 5
Enter the integer values of the first array a: 1 3 2 5 0Enter the
integer values of the second array b: 6 4 8 3 10The result array c
= a * b : 6 12 16 15 0
(( in java ))
anything doubtful or not understand just comment
Please up vote for my effort
Thank you and all the best