C++, Develop a program that does the following: Generates a set of random intege
ID: 3642153 • Letter: C
Question
C++, Develop a program that does the following:Generates a set of random integers (10) in the range 0 through 50 and stores them in an array.
Generates another set of random integers (10) in the same range and stores them in another array.
Makes sure that both arrays contain proper sets by eliminating recurring values in each.
Depending on what the user wants, computes and prints on the screen the union, the intersection, or the difference of the two sets. Set does not contain recurring values.
Implementation:
Use at least 2 functions.