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

 

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

OK, this time you have to figure out what to do by looking at the test data. I will tell you that the input parameter must be between 0 and 20.


coolNums(4) → "1-12-123-1234"
coolNums(0) → ""
coolNums(1) → "1"

...Save, Compile, Run (ctrl-enter)

public String coolNums(int a) { }

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: 440

Copyright Nick Parlante 2017 - privacy