about | help | code help+videos | done | prefs |
Given a 2-digit integer, return the sum of its two digits. sum2Digits(45) → 9 sum2Digits(11) → 2 sum2Digits(80) → 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: 100
Copyright Nick Parlante 2017 - privacy