about | help | code help+videos | done | prefs |
Write a recursive method that "wraps" a number with zeros. This method MUST accomplish this using non-trivial recursion. Look at the test-data for examples. The input integer will be positive and small enough that the result is less than MaxInt. wrapNumber(4571) → 4050701 wrapNumber(214) → 20104 wrapNumber(4) → 4 ...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: 340
Copyright Nick Parlante 2017 - privacy