Browse Source

Update reachable_number.en.md

pull/508/head
LEEDASILVA 5 years ago committed by GitHub
parent
commit
04d374b60d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      subjects/reachable_number.en.md

10
subjects/reachable_number.en.md

@ -7,7 +7,7 @@ Let us define a function f(x) by the following: first we add 1 to x, and then wh
### Expected function
```go
func Reachable_number(n int) int {
func Reachablenumber(n int) int {
}
```
@ -24,9 +24,9 @@ import (
)
func main() {
fmt.Println(Reachable_number(1))
fmt.Println(Reachable_number(10))
fmt.Println(Reachable_number(1001))
fmt.Println(Reachablenumber(1))
fmt.Println(Reachablenumber(10))
fmt.Println(Reachablenumber(1001))
}
```
@ -39,4 +39,4 @@ student@ubuntu:~/[[ROOT]]/test$ ./test
19
36
student@ubuntu:~/[[ROOT]]/test$
```
```

Loading…
Cancel
Save