Browse Source

CountStars subject

1147-count-stars
zainabdnaya 2 years ago
parent
commit
4988c57bfc
  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.
```go
func CountStar(num int) string {
func CountStars(num int) string {
}
```
@ -17,9 +17,9 @@ import (
)
func main() {
fmt.Println(CountStar(5))
fmt.Println(CountStar(4))
fmt.Println(CountStar(-1))
fmt.Println(CountStars(5))
fmt.Println(CountStars(4))
fmt.Println(CountStars(-1))
}
```

Loading…
Cancel
Save