From ad061620bcdd763b703951d50528cc3e12427dae Mon Sep 17 00:00:00 2001 From: Christopher Fremond Date: Thu, 3 Oct 2019 04:03:26 +0100 Subject: [PATCH] update of rot14 test programs --- subjects/rot14prog.en.md | 4 ++-- subjects/rot14prog.fr.md | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 subjects/rot14prog.fr.md diff --git a/subjects/rot14prog.en.md b/subjects/rot14prog.en.md index 68fd3264..c421a1f7 100644 --- a/subjects/rot14prog.en.md +++ b/subjects/rot14prog.en.md @@ -8,8 +8,8 @@ Write a program that prints the `string` passed as argument, transformed into a ```console student@ubuntu:~/rot14prog$ go build -student@ubuntu:~/rot14prog$ ./rot14prog "Hello How are You" -Vszzc Vck ofs Mci +student@ubuntu:~/rot14prog$ ./rot14prog "Hello How are You" | cat -e +Vszzc Vck ofs Mci$ student@ubuntu:~/rot14prog$ ./rot14prog Hello How are You student@ubuntu:~/rot14prog$ ./rot14prog diff --git a/subjects/rot14prog.fr.md b/subjects/rot14prog.fr.md new file mode 100644 index 00000000..5d3b2736 --- /dev/null +++ b/subjects/rot14prog.fr.md @@ -0,0 +1,18 @@ +## rot14 + +### Instructions + +Écrire un programme qui retourne la `string` en paramètre transformée en `string rot14`.. + +### Utilisation + +```console +student@ubuntu:~/rot14prog$ go build +student@ubuntu:~/rot14prog$ ./rot14prog "Hello How are You" | cat -e +Vszzc Vck ofs Mci$ +student@ubuntu:~/rot14prog$ ./rot14prog Hello How are You + +student@ubuntu:~/rot14prog$ ./rot14prog + +student@ubuntu:~/rot14prog$ +```