On May 25, 5:50 pm, Deniz Dogan <kristn...@nospam.comwrote:

Shraddha wrote:
If we have three variables a,b,c...which are char variables....then

hoe to print there all permutations?

for example....abc, bac, cab.......all of them....

Are all of these questions school work or something?

Hi Deniz...

This is not a school work...

Actually these permutations are not supposed to be printed mannually.

There is a formula for that permutations....b'coz of which we can do

that program within 5-7 lines...that works not only for 3 variables

but for n number of characters.

But I am not aware of that formula...so I just want to know that

formula....