can you help me doing this program
i need to make the program to take a number between 2,9
and the program make possible combinations in form of sets where {1,2} the same as {2,1}
i don't need the program to display both sets.
also when you give the program a number between 2,9
for example :
for 2
{1,2}
for 3
{1,2,3}
for 4
{1,2,3,4}
and continue displaying all possible combination in a form of sets which contains a number of elements specified by the user of the program.
if you don't understand me please post a reply.
|