View Full Version : 'permutation and combination'

09-15-2002, 07:53 AM
Kindly help me .I need a program in c that will give the permutation and combination of english alphabets.
example. If the letters are a,b,c and if i want permutation for 2 elements the program display ab,ba,bc,cb,ac,ca and similarly for combination also the program should give answeras ab,ac,bc

09-15-2002, 01:54 PM
What does this program have to do with OpenGL? Sounds to me like you are trying to get someone to do your homework for you.

09-16-2002, 09:20 AM
Use recursion