0
Who can help me? Recursive function kotlin
Online -> o*n*l*i*n*e How can I get this one by recursive function?
2 Réponses
+ 4
Your function should take a string.
When the string has one character left, display it and return. Otherwise, display the first character and an asterisk, plus recurse with a string of the second through the last characters. The main function calls with the full string.
+ 3
Show your attempt!