1
Answer

Recursive Function

Ask a question
Dave Green

Dave Green

10y
892
1
Write a recursive function that returns a string and that takes 1 string
parameter. Each invocation of the function should concatenate the string
parameter to itself. So, if the string "duck" was passed in, it should return
the string "duckduck". The recursion should stop when the length of the string exceeds 100.

Answers (1)