Additional Practice
本页目录· 2 条
Coding challenge 1
You are required to write a program that demonstrates the use of loops and String objects.
Write a program that accepts a string input of 3 characters from the user via the keyboard. Your program will print all permutations of inputted String with repetition and your code should be reusable.
For reference, an illustration of the execution has been shown below: