0

i know that this is a simple code but i'm having problems with it. Problem to be solved

Get two sets of 10 integers from the user and store each set in a separate array. Find the set representing the intersection of the two sets entered and store the intersection in a third array. Then print out the set representing the intersection.

As a minimum you must have separate functions to accomplish each of the following:

- One function to input an array of 10 integers.

- One function to find the intersection of two arrays.

- One function to print the contents of the intersection array.