Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 386 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 386 Bytes

Number of Decimal Digits

7 kyu link to kata
my solution

Determine the total number of digits in the integer (n>=0) given as input to the function. For example, 9 is a single digit, 66 has 2 digits and 128685 has 6 digits. Be careful to avoid overflows/underflows.

All inputs will be valid.