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

 

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

For this problem, the parameter 'jump' is used to indicate how much of an increment there should be between each number. Look at the test data. Make that happen! Make sure you notice that 'jump' can be negative! However, jump will NOT be zero. (Note: there is a space between each number AND at the end of the string)


loopyLoop3(2, 3, 1) → "2 3 "
loopyLoop3(10, 2, -3) → "10 7 4 "
loopyLoop3(1, 9, 2) → "1 3 5 7 9 "

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

public String loopyLoop3(int first, int last, int jump) { }

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

Copyright Nick Parlante 2017 - privacy