Browse Source

fix max readme from hackaton

content-update
lee 5 years ago
parent
commit
74e9d6f6f4
  1. 10
      subjects/max.en.md
  2. 10
      subjects/max.fr.md

10
subjects/max.en.md

@ -23,12 +23,12 @@ package main
import ( import (
"fmt" "fmt"
student ".." piscine ".."
) )
func main() { func main() {
arrInt := []int{23, 123, 1, 11, 55, 93} arrInt := []int{23, 123, 1, 11, 55, 93}
max := student.Max(arrInt) max := piscine.Max(arrInt)
fmt.Println(max fmt.Println(max
} }
``` ```
@ -36,8 +36,8 @@ func main() {
And its output : And its output :
```console ```console
student@ubuntu:~/student/max$ go build student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/student/max$ ./max student@ubuntu:~/piscine/test$ ./test
123 123
student@ubuntu:~/student/max$ student@ubuntu:~/piscine/test$
``` ```

10
subjects/max.fr.md

@ -23,12 +23,12 @@ package main
import ( import (
"fmt" "fmt"
student ".." piscine ".."
) )
func main() { func main() {
arrInt := []int{23, 123, 1, 11, 55, 93} arrInt := []int{23, 123, 1, 11, 55, 93}
max := student.Max(arrInt) max := piscine.Max(arrInt)
fmt.Println(max fmt.Println(max
} }
``` ```
@ -36,8 +36,8 @@ func main() {
And its output : And its output :
```console ```console
student@ubuntu:~/student/max$ go build student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/student/max$ ./max student@ubuntu:~/piscine/test$ ./test
123 123
student@ubuntu:~/student/max$ student@ubuntu:~/piscine/test$
``` ```

Loading…
Cancel
Save