Browse Source

update of rot14 test programs

content-update
Christopher Fremond 5 years ago committed by Christopher Fremond
parent
commit
ad061620bc
  1. 4
      subjects/rot14prog.en.md
  2. 18
      subjects/rot14prog.fr.md

4
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

18
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$
```
Loading…
Cancel
Save