Array Sets?

Discussion in 'Java' started by macknonalds, Jan 9, 2007.

  1. macknonalds

    macknonalds New Member

    Joined:
    Jan 6, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    www.oozman.com
    Location:
    www.oozman.com
    Home Page:
    http://www.oozman.com
    hello guyz, can anybody help me about this problem:

    "Create a java program, that will compute the union, intersection, and difference of a given sets... These given sets must be coming from a user. Example, they want 3 sets or 4 or 5 sets (it must be at least 2 sets) and these set will be named as set 1, set 2 ,set 3 and so on, depending on how many sets the users declared. After he/she declared the number of sets, he will then input the value of the each sets and once the user typed the word "exit", it will stop inputing values with in the set and then proceed to another set where the user will again input some values, until the user will satisfy the values of each set....And then these sets will be manipulated and will show/display the intersection, union, and difference of the sets, thus, the user will choose which sets will be manipulated... HINT: Use two-dimensional array(s) for the sets! (storage)"




    I've been on the process of solution but still I'll always stocked-up od decaring the number of sets and the storing of the values of the specified number of sets....

    thanks for the help and for the ideas... I really appreciate it much....
    -macknonalds-
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
  3. macknonalds

    macknonalds New Member

    Joined:
    Jan 6, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    www.oozman.com
    Location:
    www.oozman.com
    Home Page:
    http://www.oozman.com
    ok.. thanks shabbir...
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice