From a70a9e20db913f5fa9f2485c76437f30b031bba5 Mon Sep 17 00:00:00 2001 From: zainabdnaya Date: Wed, 15 Jun 2022 15:48:00 +0100 Subject: [PATCH] Correcting number of digita --- subjects/numofdigits/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/subjects/numofdigits/README.md b/subjects/numofdigits/README.md index 64fe5d55..df37582b 100644 --- a/subjects/numofdigits/README.md +++ b/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