about | help | code help+videos | done | prefs |
Write a function, sumUp(n), which returns the sum of the first n numbers, i.e. 1+2+...+n sumUp(0) → 0 sumUp(1) → 1 sumUp(2) → 3 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy