Question
This homework project is all about testing your understanding of sets and your ability to use them. Your job is to create code that will
This homework project is all about testing your understanding of sets and your ability to use them.
Your job is to create code that will take in input from a user containing two sets. Then you will complete all 6 set operations on those sets. Your user input/output should look similar to the assignment Set Operations Assignment.
Ideally your code would be able to accept all types of input but for purposes of this assignment we are going to stick to integers. You should test your code with more than the following inputs but I will be grading you based on if your code results in the correct output for the following set pairs:
S = {1, 2, 3, 4} T = {3, 4, 5, 6}
S = {1, 3, 5} T = {3, 4, 5, 6}
S = {10, 13, 22, 41} T = {40, 60, 80}
S = {3, 10} T = {1, 2, 3}
S = {10} T = {3}
To submit this assignment you will take screen shots of your code and input/output for each of the inputs I have given above.
These are the operations:
THIS IS TO BE WRITTEN IN C++. PLEASE LEAVE COMMENTS TO EXPLAIN THE CODE SO I CAN UNDERSTAND!!
liegers. P(S) = S x V = SUT = SOT = S - T = liegers. P(S) = S x V = SUT = SOT = S - T =
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started