Write a program that reads in two arrays of integers representing the elements of two sets from two different user-specified input files and calculates both the union and the intersection of the two sets. Use arrays to contain the input sets and build both the union and intersection. Note that the input sets may not be sorted in order, so your algorithm must work regardless of the order in which set elements are entered.