about | help | code help+videos | done | prefs |
Write a method that returns the sum of the digits in the tens places of parameters 'a' and 'b'. As preconditions you may assume that a>=10 and b>=10. test2023_01_19_APP1SLHL_tensDigitSum(124124, 23535) → 5 test2023_01_19_APP1SLHL_tensDigitSum(780, 315) → 9 test2023_01_19_APP1SLHL_tensDigitSum(20008, 4003) → 0 ...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: 210
Copyright Nick Parlante 2017 - privacy