mirror of https://github.com/01-edu/public.git
2 changed files with 18 additions and 3 deletions
@ -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$ |
||||||
|
``` |
Loading…
Reference in new issue