about | help | code help+videos | done | prefs |
Taylor Swift is coming to Australia (Eeeeeeeee!!!) and has concerts in Sydney and Melbourne. The number of tickets sold in each concert is stored in an array. Define a function that when passed this array, returns the total tickets Tay Tay sold. tayTayTixSold([10000, 100002, 10323]) → 120325 tayTayTixSold([]) → 0 tayTayTixSold([8]) → 8 ...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: 2 Post-solution available
Copyright Nick Parlante 2017 - privacy