Browse Source

Correcting number of digita

1162-numofdigits
zainabdnaya 2 years ago
parent
commit
a70a9e20db
  1. 14
      subjects/numofdigits/README.md

14
subjects/numofdigits/README.md

@ -1,8 +1,8 @@
## numofdigits
## number of digits
### Instructions
Write a function that returns number of digits in a nonnegative integer n.
Write a function that returns a number of digits in a nonnegative integer n.
- if you enter a negative input return 0.
### Expected function
@ -37,8 +37,8 @@ And its output :
```console
$ go run .
1$
3$
0$
3$
4$
1
3
0
3
4

Loading…
Cancel
Save