Question: Need It in Java please Your job is to create code that will take in input from a user containing two sets. Then you will
Need It in Java please
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.
The universal set is all integers from 1 to 100.
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 is able to accept the following as user input (one set/pair at a time) and give the correct output for the given set (do not hard code it for the all sets at once, the output should be determined by the code based on the input, meaning I could put any two set integers as input and it should work):
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}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
