Question: note! including iostream using namespace std Q-1: Set Operations: Write a C++ program that uses one dimensional arrays to implement Set operations ie. union, difference

note!
including iostream
using namespace std
Q-1: Set Operations: Write a C++ program that uses one dimensional arrays to implement Set operations ie. union, difference and intersection. Special requirements Each set can contain maximum of 50 elements except the resultant set that can have 100 elements . Elements of a set are integers from 1 to 30. .Use 0 as the end of a set Your program must implement the following three functions in addition to the main function. Function header of the three functions is given below void uni onoperation (int zetAI, int setB(l int reaultantSet(n void intersectionoperation (int aetA, int zetB, int resultantsetl) Thi intersection of the tro arraye and store the anc E resultant ar void differnceOpexation (int Ar int FetB, int This function shouid ressi sfference of the two arrays e arrar ape E as parameter and cateuiate theStep by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
