about | help | code help+videos | done | prefs |
Write a RECURSIVE method that returns a string of 'count' copies of 'ltr'. Your method MUST be recursive in a meaningful way to earn credit. Personally, I wrote a helper method, just so I wouldn't have to make a recursive call with that really long method name... but that is up to you. test2021_02_11_P1SLHL_RecursiveString("7", 13) → "7777777777777" test2021_02_11_P1SLHL_RecursiveString("a", 3) → "aaa" test2021_02_11_P1SLHL_RecursiveString("q", 5) → "qqqqq" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 310
Copyright Nick Parlante 2017 - privacy