about | help | code help+videos | done | prefs |
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) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 220
Copyright Nick Parlante 2017 - privacy