about | help | code help+videos | done | prefs |
Write a method that returns the MOST SIGNIFICANT digit in the non-negative integer input parameter. For example, 72348 has 7 as its most significant digit. Recursion is optional. bbvdMostSigDigAdvanced1(129824) → 1 bbvdMostSigDigAdvanced1(42892) → 4 bbvdMostSigDigAdvanced1(9274897) → 9 ...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