about | help | code help+videos | done | prefs |
Given a 4-digit integer n, return the sum of the first and last digits. first_last(1234) → 5 first_last(9001) → 10 first_last(9876) → 15 ...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