i really need help on this, i need code for this project, please help me, thanks in advance..
(Power Set) Given an input set with entries separated by commas, output all the possible sets that can be generated from this set.
Sets are described in the file power.txt
The lines consist of a comma-separated non-repeating list of entries which will become the elements of the set. Output is to the Text Area GUI component as shown by the sample dialog. The number of elements in a set is undefined.
Sample Dialog
power.txt
mario,luigi,princess
1,2,3,4
jess
JTextArea Output
Powerset of set {mario,luigi,princess} is
{null},{mario},{luigi},{princes},{mari...
Powerset of set {1,2,3,4} is
{null},{1},{2},{3},{4},{1,2},{1,3},{1,...
Powerset of set {jess} is
{null},{jess}