Browse Source

docs(digitlen): instructions fix

pull/2061/head
Tiago Collot 2 years ago committed by MSilva95
parent
commit
324d8ea2cc
  1. 2
      subjects/digitlen/README.md

2
subjects/digitlen/README.md

@ -2,7 +2,7 @@
### Instructions ### Instructions
Write a function `DigitLen()` that takes two integers as arguments and returns the number of digits in the first `int` by the base of the second `int`. Write a function `DigitLen()` that takes two integers as arguments and returns the times the first `int` can be divided by the second until it reaches zero.
- The second `int` must be between ***2*** and ***36***. If not, the function returns `-1`. - The second `int` must be between ***2*** and ***36***. If not, the function returns `-1`.
- If the first `int` is negative, reverse the sign and count the digits. - If the first `int` is negative, reverse the sign and count the digits.

Loading…
Cancel
Save