+ 3

[Make mutation recursion]

Make program that the output is mutation of N character 'A', 'B', 'C' until 'J'. Where is 2 <= N <= 10. Example: input : N = 2 output : A B B A input : N = 3 A B C A C B B A C B C A C A B C B A and the program must use recursion function. Please help me. Thanks😁 Any language, C++ take precedence.

31st Mar 2018, 12:10 PM
pratama
pratama - avatar
3 Respostas
31st Mar 2018, 2:27 PM
🇮🇷 M N
+ 4
I know you said it had to use recursion, but I just wanted to show how simple it is without recursion https://code.sololearn.com/c2sdw8sldV5p/?ref=app
31st Mar 2018, 2:04 PM
Louis
Louis - avatar
+ 1
Thanks all👌
31st Mar 2018, 2:46 PM
pratama
pratama - avatar