There are two arrays of integers A and B. Determine the sum of elements from array A, that occurs in array B. The number of array elements and the values of elements ask for the user.
Example: for arrays A = 1,4,10, 2,1,10,4,5,10 and B = 5,8,10,-4 – result 35

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!