diff --git a/subjects/strrevprog.en.md b/subjects/strrevprog.en.md index 2d60ef7cf..ebda9a442 100644 --- a/subjects/strrevprog.en.md +++ b/subjects/strrevprog.en.md @@ -2,14 +2,14 @@ ### Instructions -- Write a program that reverses a `string` and writes it in standard output. +- Write a program that reverses a `string` and prints it in the standard output. ### Expected output : ```console student@ubuntu:~/piscine-go/strrevprog$ go build -student@ubuntu:~/piscine-go/strrevprog$ ./strrevprog "Hello World!" -!dlroW olleH +student@ubuntu:~/piscine-go/strrevprog$ ./strrevprog "Hello World!" | cat -e +!dlroW olleH$ student@ubuntu:~/piscine-go/strrevprog$ ./strrevprog student@ubuntu:~/piscine-go/strrevprog$ ``` diff --git a/subjects/strrevprog.fr.md b/subjects/strrevprog.fr.md new file mode 100644 index 000000000..4a1f62411 --- /dev/null +++ b/subjects/strrevprog.fr.md @@ -0,0 +1,15 @@ +## strrevprog + +### Instructions + +- Écrire un programme qui inverse une `string` et qui l'affiche dans la sortie standard. + +### Utilisation : + +```console +student@ubuntu:~/piscine-go/strrevprog$ go build +student@ubuntu:~/piscine-go/strrevprog$ ./strrevprog "Hello World!" | cat -e +!dlroW olleH$ +student@ubuntu:~/piscine-go/strrevprog$ ./strrevprog +student@ubuntu:~/piscine-go/strrevprog$ +```