+ 11
Write code for all possible combination of your name, using each digit once...
example IF NAME IS "ANI" OUTPUT SHOULD BE LIKE :- ANI AIN NAI NIA IAN INA
6 Answers
+ 8
any body
+ 8
it works but one mistake in output.. it does not produce one combination.
+ 8
i want to learn core program of next_premutation and begin () and end ();
+ 7
@kurwius code has some error when i enter "Anil", it should produce 24 combination but produce only 19.
https://code.sololearn.com/cvsQWOGzrQ5d/?ref=app
+ 7
thanks
+ 1
OK