Browse Source

fixed abort en and fr

content-update
lee 5 years ago
parent
commit
88b93511e3
  1. 10
      subjects/abort.en.md
  2. 10
      subjects/abort.fr.md

10
subjects/abort.en.md

@ -23,11 +23,11 @@ package main
import (
"fmt"
student ".."
piscine ".."
)
func main() {
middle := student.Abort(2, 3, 8, 5, 7)
middle := piscine.Abort(2, 3, 8, 5, 7)
fmt.Println(middle)
}
```
@ -35,8 +35,8 @@ func main() {
And its output :
```console
student@ubuntu:~/student/abort$ go build
student@ubuntu:~/student/abort$ ./abort
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./abort
5
student@ubuntu:~/student/abort$
student@ubuntu:~/piscine/test$
```

10
subjects/abort.fr.md

@ -23,11 +23,11 @@ package main
import (
"fmt"
student ".."
piscine ".."
)
func main() {
middle := student.Abort(2, 3, 8, 5, 7)
middle := piscine.Abort(2, 3, 8, 5, 7)
fmt.Println(middle)
}
```
@ -35,8 +35,8 @@ func main() {
And its output :
```console
student@ubuntu:~/student/abort$ go build
student@ubuntu:~/student/abort$ ./abort
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./abort
5
student@ubuntu:~/student/abort$
student@ubuntu:~/piscine/test$
```

Loading…
Cancel
Save