Browse Source

CountStars subject

fixDevirged
zainabdnaya 2 years ago committed by zainab Dnaya
parent
commit
fb3636dff2
  1. 8
      subjects/countstars/README.md

8
subjects/countstars/README.md

@ -6,7 +6,7 @@ Write a function named `CountStar` that makes u fall asleep by counting stars, i
- No need to manage overflow. - No need to manage overflow.
```go ```go
func CountStar(num int) string { func CountStars(num int) string {
} }
``` ```
@ -17,9 +17,9 @@ import (
) )
func main() { func main() {
fmt.Println(CountStar(5)) fmt.Println(CountStars(5))
fmt.Println(CountStar(4)) fmt.Println(CountStars(4))
fmt.Println(CountStar(-1)) fmt.Println(CountStars(-1))
} }
``` ```

Loading…
Cancel
Save