id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

jebbert@volusia.k12.fl.us > quiz02_20_2017_numName_SLHL
prev  |  next  |  chance

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)

public String quiz02_20_2017_numName_SLHL(int num) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 290

Copyright Nick Parlante 2017 - privacy