I wanna help in this 2 OPERATOR using c++ .
(This is the header of question)
(Create a class IntegerSet for which each object can hold integers in the range 0through 100. A set is represented internally as an array of ones and zeros. Arrayelement a[ i ] is 1 if integer i is in the set. Array element a[ j ] is 0 if integer j is not inthe set)
(This is the two OPERATOR )
Provide sets difference using the operator – . For example, s1 = s2 – s3 willresult in s1 having the elements in s2 that are not in s3.• Provide set complement using the operator ! . For example, s2 = !s1 will resultin s2 having all of the elements that are not in s1
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here