Code:
Hello everybody.

I have a problem and i need help.

Here is a set {a,b,c,d,e,f,.......,w,x,y,z}
I want to make a program to read a number  and to print all possible subsets from 'a' to digit that the chosen number shows.For example:

%Please give number.
Given number is 2 and these are the subsets of {a,b} :
{}
{a}
{b}
{a,b}

%Please give number.
Given number is 4 and these are the subsets of {a,b,c,d} :
{}
{a}
{b}
{a,b}
{c}
{a,c}
{b,c}
{a,b,c}
{d}
{a,d}
{b,d}
{c,d}
{a,b,d}
{a,c,d}
{b,c,d}
{a,b,c,d}

Thanks