Browse Source

Fix piscine path -> piscine-go

content-update
atlekbai 5 years ago committed by Xavier Petit
parent
commit
3f55827efd
  1. 6
      subjects/abort.en.md
  2. 6
      subjects/abort.fr.md
  3. 6
      subjects/activebits.en.md
  4. 6
      subjects/activebits.fr.md
  5. 10
      subjects/addprimesum.en.md
  6. 10
      subjects/addprimesum.fr.md
  7. 6
      subjects/advancedsortwordarr.en.md
  8. 6
      subjects/advancedsortwordarr.fr.md
  9. 6
      subjects/any.en.md
  10. 6
      subjects/any.fr.md
  11. 6
      subjects/appendrange.en.md
  12. 6
      subjects/appendrange.fr.md
  13. 6
      subjects/atoi.en.md
  14. 6
      subjects/atoi.fr.md
  15. 6
      subjects/atoibase.en.md
  16. 6
      subjects/atoibase.fr.md
  17. 6
      subjects/basicatoi.en.md
  18. 6
      subjects/basicatoi.fr.md
  19. 6
      subjects/basicatoi2.en.md
  20. 6
      subjects/basicatoi2.fr.md
  21. 6
      subjects/basicjoin.en.md
  22. 6
      subjects/basicjoin.fr.md
  23. 6
      subjects/btreeapplyinorder.en.md
  24. 6
      subjects/btreeapplyinorder.fr.md
  25. 6
      subjects/btreeapplypostorder.en.md
  26. 6
      subjects/btreeapplypostorder.fr.md
  27. 6
      subjects/btreeapplypreorder.en.md
  28. 6
      subjects/btreeapplypreorder.fr.md
  29. 6
      subjects/btreeinsertdata.en.md
  30. 6
      subjects/btreeinsertdata.fr.md
  31. 6
      subjects/btreeprintroot.en.md
  32. 6
      subjects/btreeprintroot.fr.md
  33. 6
      subjects/btreesearchitem.en.md
  34. 6
      subjects/btreesearchitem.fr.md
  35. 6
      subjects/capitalize.en.md
  36. 6
      subjects/capitalize.fr.md
  37. 4
      subjects/cl-camp2.en.md
  38. 4
      subjects/cl-camp2.fr.md
  39. 6
      subjects/cl-camp4.en.md
  40. 6
      subjects/cl-camp4.fr.md
  41. 4
      subjects/cl-camp5.en.md
  42. 4
      subjects/cl-camp5.fr.md
  43. 4
      subjects/cl-camp6.en.md
  44. 4
      subjects/cl-camp6.fr.md
  45. 4
      subjects/cl-camp7.en.md
  46. 4
      subjects/cl-camp7.fr.md
  47. 6
      subjects/collatzcountdown.en.md
  48. 8
      subjects/comcheck.en.md
  49. 8
      subjects/comcheck.fr.md
  50. 6
      subjects/compact.en.md
  51. 6
      subjects/compact.fr.md
  52. 6
      subjects/compare.en.md
  53. 6
      subjects/compare.fr.md
  54. 6
      subjects/concat.en.md
  55. 6
      subjects/concat.fr.md
  56. 6
      subjects/concatparams.en.md
  57. 6
      subjects/concatparams.fr.md
  58. 6
      subjects/convertbase.en.md
  59. 6
      subjects/convertbase.fr.md
  60. 6
      subjects/countdown.en.md
  61. 6
      subjects/countdown.fr.md
  62. 6
      subjects/countif.en.md
  63. 6
      subjects/countif.fr.md
  64. 6
      subjects/createelem.en.md
  65. 6
      subjects/createelem.fr.md
  66. 10
      subjects/displaya.en.md
  67. 10
      subjects/displaya.fr.md
  68. 10
      subjects/displayfirstparam.en.md
  69. 10
      subjects/displayfirstparam.fr.md
  70. 12
      subjects/displaylastparam.en.md
  71. 12
      subjects/displaylastparam.fr.md
  72. 10
      subjects/displayz.en.md
  73. 10
      subjects/displayz.fr.md
  74. 6
      subjects/divmod.en.md
  75. 6
      subjects/divmod.fr.md
  76. 18
      subjects/doop.en.md
  77. 18
      subjects/doop.fr.md
  78. 4
      subjects/eightqueens.en.md
  79. 4
      subjects/eightqueens.fr.md
  80. 6
      subjects/enigma.en.md
  81. 6
      subjects/enigma.fr.md
  82. 6
      subjects/fibonacci.en.md
  83. 6
      subjects/fibonacci.fr.md
  84. 6
      subjects/findnextprime.en.md
  85. 6
      subjects/findnextprime.fr.md
  86. 6
      subjects/firstrune.en.md
  87. 6
      subjects/firstrune.fr.md
  88. 12
      subjects/firstword.en.md
  89. 12
      subjects/firstword.fr.md
  90. 6
      subjects/foreach.en.md
  91. 6
      subjects/foreach.fr.md
  92. 16
      subjects/fprime.en.md
  93. 16
      subjects/fprime.fr.md
  94. 6
      subjects/hello.en.md
  95. 6
      subjects/hello.fr.md
  96. 6
      subjects/index.en.md
  97. 6
      subjects/index.fr.md
  98. 8
      subjects/inter.en.md
  99. 8
      subjects/inter.fr.md
  100. 4
      subjects/introduction.fr.md
  101. Some files were not shown because too many files changed in this diff diff.show_more

6
subjects/abort.en.md

@ -33,8 +33,8 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
5
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/abort.fr.md

@ -33,8 +33,8 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
5
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/activebits.en.md

@ -33,8 +33,8 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
3
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/activebits.fr.md

@ -33,8 +33,8 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
3
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

10
subjects/addprimesum.en.md

@ -9,12 +9,12 @@ Write a program that takes a positive integer as argument and displays the sum o
### Usage
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test 5
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test 5
10
student@ubuntu:~/piscine/test$ ./test 7
student@ubuntu:~/piscine-go/test$ ./test 7
17
student@ubuntu:~/piscine/test$ ./test 57
student@ubuntu:~/piscine-go/test$ ./test 57
0
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

10
subjects/addprimesum.fr.md

@ -9,12 +9,12 @@
### Utilisation
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test 5
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test 5
10
student@ubuntu:~/piscine/test$ ./test 7
student@ubuntu:~/piscine-go/test$ ./test 7
17
student@ubuntu:~/piscine/test$ ./test 57
student@ubuntu:~/piscine-go/test$ ./test 57
0
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/advancedsortwordarr.en.md

@ -35,8 +35,8 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
[1 2 3 A B C a b c]
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/advancedsortwordarr.fr.md

@ -35,8 +35,8 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
[1 2 3 A B C a b c]
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/any.en.md

@ -40,9 +40,9 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
false
true
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/any.fr.md

@ -40,9 +40,9 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
false
true
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/appendrange.en.md

@ -40,9 +40,9 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
[5 6 7 8 9]
[]
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/appendrange.fr.md

@ -39,9 +39,9 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
[5 6 7 8 9]
[]
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/atoi.en.md

@ -63,8 +63,8 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
12345
12345
0
@ -73,5 +73,5 @@ student@ubuntu:~/piscine/test$ ./test
-1234
0
0
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/atoi.fr.md

@ -63,8 +63,8 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
12345
12345
0
@ -73,5 +73,5 @@ student@ubuntu:~/piscine/test$ ./test
-1234
0
0
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/atoibase.en.md

@ -48,12 +48,12 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
125
125
125
125
0
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/atoibase.fr.md

@ -48,12 +48,12 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
125
125
125
125
0
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/basicatoi.en.md

@ -48,10 +48,10 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
12345
12345
0
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/basicatoi.fr.md

@ -48,10 +48,10 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
12345
12345
0
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/basicatoi2.en.md

@ -52,11 +52,11 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
12345
12345
0
0
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/basicatoi2.fr.md

@ -52,11 +52,11 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
12345
12345
0
0
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/basicjoin.en.md

@ -33,8 +33,8 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
Hello! How are you?
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/basicjoin.fr.md

@ -33,8 +33,8 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
Hello! How are you?
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/btreeapplyinorder.en.md

@ -38,11 +38,11 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
1
4
5
7
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/btreeapplyinorder.fr.md

@ -38,11 +38,11 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
1
4
5
7
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/btreeapplypostorder.en.md

@ -37,11 +37,11 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
1
5
7
4
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/btreeapplypostorder.fr.md

@ -37,11 +37,11 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/btreeinsertdata$ go build
student@ubuntu:~/piscine/btreeinsertdata$ ./btreeinsertdata
student@ubuntu:~/piscine-go/btreeinsertdata$ go build
student@ubuntu:~/piscine-go/btreeinsertdata$ ./btreeinsertdata
1
5
7
4
student@ubuntu:~/piscine/btreeinsertdata$
student@ubuntu:~/piscine-go/btreeinsertdata$
```

6
subjects/btreeapplypreorder.en.md

@ -37,11 +37,11 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
4
1
7
5
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/btreeapplypreorder.fr.md

@ -37,11 +37,11 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
4
1
7
5
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/btreeinsertdata.en.md

@ -47,11 +47,11 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/btreeinsertdata$ go build
student@ubuntu:~/piscine/btreeinsertdata$ ./btreeinsertdata
student@ubuntu:~/piscine-go/btreeinsertdata$ go build
student@ubuntu:~/piscine-go/btreeinsertdata$ ./btreeinsertdata
1
4
5
7
student@ubuntu:~/piscine/btreeinsertdata$
student@ubuntu:~/piscine-go/btreeinsertdata$
```

6
subjects/btreeinsertdata.fr.md

@ -46,11 +46,11 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/btreeinsertdata$ go build
student@ubuntu:~/piscine/btreeinsertdata$ ./btreeinsertdata
student@ubuntu:~/piscine-go/btreeinsertdata$ go build
student@ubuntu:~/piscine-go/btreeinsertdata$ ./btreeinsertdata
1
4
5
7
student@ubuntu:~/piscine/btreeinsertdata$
student@ubuntu:~/piscine-go/btreeinsertdata$
```

6
subjects/btreeprintroot.en.md

@ -38,10 +38,10 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/printroot$ go build
student@ubuntu:~/piscine/printroot$ ./printroot
student@ubuntu:~/piscine-go/printroot$ go build
student@ubuntu:~/piscine-go/printroot$ ./printroot
who
are
you
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/btreeprintroot.fr.md

@ -38,10 +38,10 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/printroot$ go build
student@ubuntu:~/piscine/printroot$ ./printroot
student@ubuntu:~/piscine-go/printroot$ go build
student@ubuntu:~/piscine-go/printroot$ ./printroot
who
are
you
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/btreesearchitem.en.md

@ -63,11 +63,11 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
Item selected -> 7
Parent of selected item -> 4
Left child of selected item -> 5
Right child of selected item -> nil
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/btreesearchitem.fr.md

@ -63,11 +63,11 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
Item selected -> 7
Parent of selected item -> 4
Left child of selected item -> 5
Right child of selected item -> nil
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/capitalize.en.md

@ -34,8 +34,8 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
Hello! How Are You? How+Are+Things+4you?
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/capitalize.fr.md

@ -34,8 +34,8 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
Hello! How Are You? How+Are+Things+4you?
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

4
subjects/cl-camp2.en.md

@ -11,7 +11,7 @@ A line is a sequence of characters preceding the [end of line](https://en.wikipe
### Usage
```console
student@ubuntu:~/piscine/test$ cat -e r
student@ubuntu:~/piscine-go/test$ cat -e r
R$
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

4
subjects/cl-camp2.fr.md

@ -11,7 +11,7 @@ Une ligne est une suite de caractères précédant le caractère [fin de ligne](
### Utilisation
```console
student@ubuntu:~/piscine/test$ cat -e r
student@ubuntu:~/piscine-go/test$ cat -e r
R$
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/cl-camp4.en.md

@ -17,8 +17,8 @@ Create a file `myfamily.sh`, which will show a subject's family (key: relatives)
### Usage
```console
student@ubuntu:~/piscine/test$ export HERO_ID=1
student@ubuntu:~/piscine/test$ ./myfamily.sh
student@ubuntu:~/piscine-go/test$ export HERO_ID=1
student@ubuntu:~/piscine-go/test$ ./myfamily.sh
Marlo Chandler-Jones (wife); Polly (aunt); Mrs. Chandler (mother-in-law); Keith Chandler, Ray Chandler, three unidentified others (brothers-in-law); unidentified father (deceased); Jackie Shorr (alleged mother; unconfirmed)
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/cl-camp4.fr.md

@ -17,8 +17,8 @@ Créer un fichier `myfamily.sh`, qui affichera la famille d'un individu (clef: r
### Utilisation
```console
student@ubuntu:~/piscine/test$ export HERO_ID=1
student@ubuntu:~/piscine/test$ ./myfamily.sh
student@ubuntu:~/piscine-go/test$ export HERO_ID=1
student@ubuntu:~/piscine-go/test$ ./myfamily.sh
Marlo Chandler-Jones (wife); Polly (aunt); Mrs. Chandler (mother-in-law); Keith Chandler, Ray Chandler, three unidentified others (brothers-in-law); unidentified father (deceased); Jackie Shorr (alleged mother; unconfirmed)
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

4
subjects/cl-camp5.en.md

@ -13,11 +13,11 @@ That command will only show the name of the files without the `.sh`.
### Usage
```console
student@ubuntu:~/piscine/test$ ./lookagain.sh | cat -e
student@ubuntu:~/piscine-go/test$ ./lookagain.sh | cat -e
file1$
file2$
file3$
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```
### Hint

4
subjects/cl-camp5.fr.md

@ -13,11 +13,11 @@ Cette commande montrera le nom des fichiers sans le`.sh`.
### Utilisation
```console
student@ubuntu:~/piscine/test$ ./lookagain.sh | cat -e
student@ubuntu:~/piscine-go/test$ ./lookagain.sh | cat -e
file1$
file2$
file3$
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```
### Indice

4
subjects/cl-camp6.en.md

@ -9,7 +9,7 @@ Create a file `countfiles.sh`, which will print the number **(and only the numbe
### Usage
```console
student@ubuntu:~/piscine/test$ ./countfiles.sh | cat -e
student@ubuntu:~/piscine-go/test$ ./countfiles.sh | cat -e
12$
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

4
subjects/cl-camp6.fr.md

@ -9,7 +9,7 @@ Créer un fichier `countfiles.sh`, qui affichera le nombre **(et seulement le no
### Utilisation
```console
student@ubuntu:~/piscine/test$ ./countfiles.sh | cat -e
student@ubuntu:~/piscine-go/test$ ./countfiles.sh | cat -e
12$
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

4
subjects/cl-camp7.en.md

@ -9,7 +9,7 @@ Create a file `"\?$*'ChouMi'*$?\"` that will contain "01" and **nothing else**.
### Usage
```console
student@ubuntu:~/piscine/test$ ls | cat -e
student@ubuntu:~/piscine-go/test$ ls | cat -e
"\?$*'ChouMi'*$?\" $
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

4
subjects/cl-camp7.fr.md

@ -9,7 +9,7 @@ Créer un fichier `"\?$*'ChouMi'*$?\"` qui contiendra "01" et **rien d'autre**.
### Utilisation
```console
student@ubuntu:~/piscine/test$ ls | cat -e
student@ubuntu:~/piscine-go/test$ ls | cat -e
"\?$*'ChouMi'*$?\" $
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/collatzcountdown.en.md

@ -33,8 +33,8 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
10
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

8
subjects/comcheck.en.md

@ -11,10 +11,10 @@ Write a program `comcheck` that displays on the standard output `Alert!!!` follo
### Usage
```console
student@ubuntu:~/piscine/comcheck$ go build
student@ubuntu:~/piscine/comcheck$ ./comcheck "I" "Will" "Enter" "the" "galaxy"
student@ubuntu:~/piscine-go/comcheck$ go build
student@ubuntu:~/piscine-go/comcheck$ ./comcheck "I" "Will" "Enter" "the" "galaxy"
Alert!!!
student@ubuntu:~/piscine/comcheck$ ./comcheck "galaxy 01" "do" "you" "hear" "me"
student@ubuntu:~/piscine-go/comcheck$ ./comcheck "galaxy 01" "do" "you" "hear" "me"
Alert!!!
student@ubuntu:~/piscine/comcheck$
student@ubuntu:~/piscine-go/comcheck$
```

8
subjects/comcheck.fr.md

@ -11,10 +11,10 @@
### Usage
```console
student@ubuntu:~/piscine/comcheck$ go build
student@ubuntu:~/piscine/comcheck$ ./comcheck "I" "Will" "Enter" "the" "galaxy"
student@ubuntu:~/piscine-go/comcheck$ go build
student@ubuntu:~/piscine-go/comcheck$ ./comcheck "I" "Will" "Enter" "the" "galaxy"
Alert!!!
student@ubuntu:~/piscine/comcheck$ ./comcheck "galaxy 01" "do" "you" "hear" "me"
student@ubuntu:~/piscine-go/comcheck$ ./comcheck "galaxy 01" "do" "you" "hear" "me"
Alert!!!
student@ubuntu:~/piscine/comcheck$
student@ubuntu:~/piscine-go/comcheck$
```

6
subjects/compact.en.md

@ -53,8 +53,8 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
a
b
@ -65,5 +65,5 @@ Size after compacting: 3
a
b
c
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/compact.fr.md

@ -53,8 +53,8 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
a
b
@ -65,5 +65,5 @@ Size after compacting: 3
a
b
c
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/compare.en.md

@ -34,10 +34,10 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
0
-1
1
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/compare.fr.md

@ -34,10 +34,10 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
0
-1
1
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/concat.en.md

@ -33,8 +33,8 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
Hello! How are you?
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/concat.fr.md

@ -33,8 +33,8 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
Hello! How are you?
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/concatparams.en.md

@ -34,11 +34,11 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
Hello
how
are
you?
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/concatparams.fr.md

@ -34,11 +34,11 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
Hello
how
are
you?
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/convertbase.en.md

@ -36,8 +36,8 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
43
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/convertbase.fr.md

@ -36,8 +36,8 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
43
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/countdown.en.md

@ -8,8 +8,8 @@ newline(`'\n'`).
### Usage
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
9876543210
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/countdown.fr.md

@ -7,8 +7,8 @@
### Utilisation
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
9876543210
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/countif.en.md

@ -36,9 +36,9 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
0
2
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/countif.fr.md

@ -36,9 +36,9 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
0
2
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/createelem.en.md

@ -38,8 +38,8 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
&{1234}
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/createelem.fr.md

@ -38,8 +38,8 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
&{1234}
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

10
subjects/displaya.en.md

@ -10,12 +10,12 @@ string, the program just writes `a` followed by a newline(`'\n'`). If the number
### Usage
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test "abc"
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test "abc"
a
student@ubuntu:~/piscine/test$ ./test "bcvbvA"
student@ubuntu:~/piscine-go/test$ ./test "bcvbvA"
a
student@ubuntu:~/piscine/test$ ./test "nbv"
student@ubuntu:~/piscine-go/test$ ./test "nbv"
a
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

10
subjects/displaya.fr.md

@ -7,12 +7,12 @@
### Utilisation
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test "abc"
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test "abc"
a
student@ubuntu:~/piscine/test$ ./test "bcvbvA"
student@ubuntu:~/piscine-go/test$ ./test "bcvbvA"
a
student@ubuntu:~/piscine/test$ ./test "nbv"
student@ubuntu:~/piscine-go/test$ ./test "nbv"
a
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

10
subjects/displayfirstparam.en.md

@ -7,11 +7,11 @@ Write a program that takes `strings` as arguments, and displays its first argume
### Usage
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test hello there
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test hello there
hello
student@ubuntu:~/piscine/test$ ./test "hello there" how are you
student@ubuntu:~/piscine-go/test$ ./test "hello there" how are you
hello there
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$ ./test
student@ubuntu:~/piscine-go/test$
```

10
subjects/displayfirstparam.fr.md

@ -7,11 +7,11 @@
### Utilisation
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test hello there
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test hello there
hello
student@ubuntu:~/piscine/test$ ./test "hello there" how are you
student@ubuntu:~/piscine-go/test$ ./test "hello there" how are you
hello there
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$ ./test
student@ubuntu:~/piscine-go/test$
```

12
subjects/displaylastparam.en.md

@ -7,13 +7,13 @@ Write a program that takes `strings` as arguments, and displays its last argumen
### Expected output
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test hello there
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test hello there
there
student@ubuntu:~/piscine/test$ ./test "hello there" how are you
student@ubuntu:~/piscine-go/test$ ./test "hello there" how are you
you
student@ubuntu:~/piscine/test$ ./test "hello there"
student@ubuntu:~/piscine-go/test$ ./test "hello there"
hello there
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$ ./test
student@ubuntu:~/piscine-go/test$
```

12
subjects/displaylastparam.fr.md

@ -7,13 +7,13 @@
### Expected output
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test hello there
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test hello there
there
student@ubuntu:~/piscine/test$ ./test "hello there" how are you
student@ubuntu:~/piscine-go/test$ ./test "hello there" how are you
you
student@ubuntu:~/piscine/test$ ./test "hello there"
student@ubuntu:~/piscine-go/test$ ./test "hello there"
hello there
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$ ./test
student@ubuntu:~/piscine-go/test$
```

10
subjects/displayz.en.md

@ -10,12 +10,12 @@ string, the program just writes `z` followed by a newline(`'\n'`). If the number
### Usage
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test "xyz"
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test "xyz"
z
student@ubuntu:~/piscine/test$ ./test "bcvbvZ"
student@ubuntu:~/piscine-go/test$ ./test "bcvbvZ"
z
student@ubuntu:~/piscine/test$ ./test "nbv"
student@ubuntu:~/piscine-go/test$ ./test "nbv"
z
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ ./test
```

10
subjects/displayz.fr.md

@ -7,12 +7,12 @@
### Utilisation
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test "xyz"
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test "xyz"
z
student@ubuntu:~/piscine/test$ ./test "bcvbvZ"
student@ubuntu:~/piscine-go/test$ ./test "bcvbvZ"
z
student@ubuntu:~/piscine/test$ ./test "nbv"
student@ubuntu:~/piscine-go/test$ ./test "nbv"
z
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ ./test
```

6
subjects/divmod.en.md

@ -42,9 +42,9 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
6
1
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/divmod.fr.md

@ -42,9 +42,9 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
6
1
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

18
subjects/doop.en.md

@ -21,20 +21,20 @@ The program has to handle the modulo and division operations by 0 as shown on th
### Usage
```console
student@ubuntu:~/piscine/test$ go build doop.go
student@ubuntu:~/piscine/test$ ./doop
student@ubuntu:~/piscine/test$ ./doop 1 + 1
student@ubuntu:~/piscine-go/test$ go build doop.go
student@ubuntu:~/piscine-go/test$ ./doop
student@ubuntu:~/piscine-go/test$ ./doop 1 + 1
2
student@ubuntu:~/piscine/test$ ./doop hello + 1 | cat -e
student@ubuntu:~/piscine-go/test$ ./doop hello + 1 | cat -e
0$
student@ubuntu:~/piscine/test$ ./doop 1 p 1
student@ubuntu:~/piscine-go/test$ ./doop 1 p 1
0
student@ubuntu:~/piscine/test$ ./doop 1 + 1
student@ubuntu:~/piscine-go/test$ ./doop 1 + 1
2
student@ubuntu:~/piscine/test$ ./doop 1 / 0 | cat -e
student@ubuntu:~/piscine-go/test$ ./doop 1 / 0 | cat -e
No division by 0$
student@ubuntu:~/piscine/test$ ./doop 1 % 0 | cat -e
student@ubuntu:~/piscine-go/test$ ./doop 1 % 0 | cat -e
No modulo by 0$
student@ubuntu:~/piscine/test$ ./doop 1 "*" 1
student@ubuntu:~/piscine-go/test$ ./doop 1 "*" 1
1
```

18
subjects/doop.fr.md

@ -22,21 +22,21 @@ Le programme doit géré les opérations modulo et division par 0 comme dans les
### Utilisation
```console
student@ubuntu:~/piscine/test$ go build doop.go
student@ubuntu:~/piscine/test$ ./doop
student@ubuntu:~/piscine/test$ ./doop 1 + 1
student@ubuntu:~/piscine-go/test$ go build doop.go
student@ubuntu:~/piscine-go/test$ ./doop
student@ubuntu:~/piscine-go/test$ ./doop 1 + 1
2
student@ubuntu:~/piscine/test$ ./doop hello + 1 | cat -e
student@ubuntu:~/piscine-go/test$ ./doop hello + 1 | cat -e
0$
student@ubuntu:~/piscine/test$ ./doop 1 p 1
student@ubuntu:~/piscine-go/test$ ./doop 1 p 1
0
student@ubuntu:~/piscine/test$ ./doop 1 + 1
student@ubuntu:~/piscine-go/test$ ./doop 1 + 1
2
student@ubuntu:~/piscine/test$ ./doop 1 / 0
student@ubuntu:~/piscine-go/test$ ./doop 1 / 0
No division by 0
student@ubuntu:~/piscine/test$ ./doop 1 % 0
student@ubuntu:~/piscine-go/test$ ./doop 1 % 0
No modulo by 0
student@ubuntu:~/piscine/test$ ./doop 1 * 1
student@ubuntu:~/piscine-go/test$ ./doop 1 * 1
1
```

4
subjects/eightqueens.en.md

@ -9,8 +9,8 @@ Recursivity must be used to solve this problem.
It should print something like this :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
15863724
16837425
17468253

4
subjects/eightqueens.fr.md

@ -9,8 +9,8 @@ La récursion doit être utilisée pour résoudre ce problème.
L'affichage sera quelque chose comme ça :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
15863724
16837425
17468253

6
subjects/enigma.en.md

@ -74,8 +74,8 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
5
2
7
@ -85,5 +85,5 @@ After using Enigma
6
5
7
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/enigma.fr.md

@ -73,8 +73,8 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
5
2
7
@ -84,5 +84,5 @@ After using Enigma
6
5
7
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/fibonacci.en.md

@ -43,8 +43,8 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
3
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/fibonacci.fr.md

@ -43,9 +43,9 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$go build
student@ubuntu:~/piscine-go/test$ ./test
3
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/findnextprime.en.md

@ -35,9 +35,9 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
5
5
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/findnextprime.fr.md

@ -37,9 +37,9 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
5
5
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/firstrune.en.md

@ -35,8 +35,8 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
HSO
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/firstrune.fr.md

@ -35,8 +35,8 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
HSO
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

12
subjects/firstword.en.md

@ -13,14 +13,14 @@ Write a program that takes a `string` and displays its first word, followed by a
### Usage
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test "hello there"
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test "hello there"
hello
student@ubuntu:~/piscine/test$ ./test "hello ......... bye"
student@ubuntu:~/piscine-go/test$ ./test "hello ......... bye"
hello
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ ./test
student@ubuntu:~/piscine/test$ ./test "hello" "there"
student@ubuntu:~/piscine-go/test$ ./test "hello" "there"
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

12
subjects/firstword.fr.md

@ -13,14 +13,14 @@
### Utilisation
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test "hello there"
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test "hello there"
hello
student@ubuntu:~/piscine/test$ ./test "hello ......... bye"
student@ubuntu:~/piscine-go/test$ ./test "hello ......... bye"
hello
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ ./test
student@ubuntu:~/piscine/test$ ./test "hello" "there"
student@ubuntu:~/piscine-go/test$ ./test "hello" "there"
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/foreach.en.md

@ -29,8 +29,8 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
123456
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/foreach.fr.md

@ -29,8 +29,8 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
123456
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

16
subjects/fprime.en.md

@ -13,18 +13,18 @@ Write a program that takes a positive `int` and displays its prime factors, foll
### Usage
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test 225225
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test 225225
3*3*5*5*7*11*13
student@ubuntu:~/piscine/test$ ./test 8333325
student@ubuntu:~/piscine-go/test$ ./test 8333325
3*3*5*5*7*11*13*37
student@ubuntu:~/piscine/test$ ./test 9539
student@ubuntu:~/piscine-go/test$ ./test 9539
9539
student@ubuntu:~/piscine/test$ ./test 804577
student@ubuntu:~/piscine-go/test$ ./test 804577
804577
student@ubuntu:~/piscine/test$ ./test 42
student@ubuntu:~/piscine-go/test$ ./test 42
2*3*7
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ ./test
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

16
subjects/fprime.fr.md

@ -13,18 +13,18 @@
### Utilisation
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test 225225
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test 225225
3*3*5*5*7*11*13
student@ubuntu:~/piscine/test$ ./test 8333325
student@ubuntu:~/piscine-go/test$ ./test 8333325
3*3*5*5*7*11*13*37
student@ubuntu:~/piscine/test$ ./test 9539
student@ubuntu:~/piscine-go/test$ ./test 9539
9539
student@ubuntu:~/piscine/test$ ./test 804577
student@ubuntu:~/piscine-go/test$ ./test 804577
804577
student@ubuntu:~/piscine/test$ ./test 42
student@ubuntu:~/piscine-go/test$ ./test 42
2*3*7
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ ./test
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/hello.en.md

@ -7,8 +7,8 @@ Write a program that displays "Hello World!" followed by a newline(`'\n'`).
### Usage
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
Hello World!
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/hello.fr.md

@ -7,8 +7,8 @@
### Utilisation
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
Hello World!
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/index.en.md

@ -34,10 +34,10 @@ func main() {
And its output :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
2
1
-1
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

6
subjects/index.fr.md

@ -34,10 +34,10 @@ func main() {
Et son résultat :
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test
2
1
-1
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

8
subjects/inter.en.md

@ -11,10 +11,10 @@ Write a program that takes two `strings` and displays, without doubles, the char
### Usage
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test "padinton" "paqefwtdjetyiytjneytjoeyjnejeyj"
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test "padinton" "paqefwtdjetyiytjneytjoeyjnejeyj"
padinto
student@ubuntu:~/piscine/test$ ./test ddf6vewg64f twthgdwthdwfteewhrtag6h4ffdhsd
student@ubuntu:~/piscine-go/test$ ./test ddf6vewg64f twthgdwthdwfteewhrtag6h4ffdhsd
df6ewg4
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

8
subjects/inter.fr.md

@ -11,10 +11,10 @@
### Utilisation
```console
student@ubuntu:~/piscine/test$ go build
student@ubuntu:~/piscine/test$ ./test "padinton" "paqefwtdjetyiytjneytjoeyjnejeyj"
student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test "padinton" "paqefwtdjetyiytjneytjoeyjnejeyj"
padinto
student@ubuntu:~/piscine/test$ ./test ddf6vewg64f twthgdwthdwfteewhrtag6h4ffdhsd
student@ubuntu:~/piscine-go/test$ ./test ddf6vewg64f twthgdwthdwfteewhrtag6h4ffdhsd
df6ewg4
student@ubuntu:~/piscine/test$
student@ubuntu:~/piscine-go/test$
```

4
subjects/introduction.fr.md

@ -27,9 +27,9 @@ Où `{username}` est votre `github username`
Si l'`{username}` est `kigiri` :
```console
user@host:~/piscine$ ./hello.sh
user@host:~/piscine-go$ ./hello.sh
Hello kigiri!
user@host:~/piscine$
user@host:~/piscine-go$
```
#### 3- go-say-hello

Some files were not shown because too many files changed in this diff diff.show_more

Loading…
Cancel
Save