about | help | code help+videos | done | prefs |
Given three numbers a, b and n, build a String that contains every nth (divisible by n) number from a to b, inclusive. Precondition: a < b for all inputs, n > 0. apcsaLoopsConcatInclusiveNsAscending(3, 5, 2) → "4" apcsaLoopsConcatInclusiveNsAscending(3, 10, 2) → "46810" apcsaLoopsConcatInclusiveNsAscending(2, 4, 1) → "234" ...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: 150
Copyright Nick Parlante 2017 - privacy