about | help | code help+videos | done | prefs |
Write a method that generates an array that represents an arithmetic sequence. You will be given a starting place for the sequence and a common difference. You will also be given the number of elements to have in the sequence. Look at the test data for examples. jan19_2018_APSLHL_makeSequence(3, 1, 5) → [3, 4, 5, 6, 7] jan19_2018_APSLHL_makeSequence(90, 5, 3) → [90, 95, 100] jan19_2018_APSLHL_makeSequence(140, 200, 5) → [140, 340, 540, 740, 940] ...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: 290
Copyright Nick Parlante 2017 - privacy