about | help | code help+videos | done | prefs |
Write a method that accepts a non-negative integer 'num', then returns a string representing the names of the digits of 'num' in the correct order with a space between each name, but no spaces at the beginning or end. You may assume num>=0 as a precondition. quiz02_20_2017_numName_SLHL(400724) → "four zero zero seven two four" quiz02_20_2017_numName_SLHL(72801) → "seven two eight zero one" quiz02_20_2017_numName_SLHL(4238) → "four two three eight" ...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: 290
Copyright Nick Parlante 2017 - privacy