mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
372 B
16 lines
372 B
![]()
5 years ago
|
## strrevprog
|
||
|
|
||
|
### Instructions
|
||
|
|
||
|
- Write a program that reverses a `string` and writes it in 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
|
||
|
student@ubuntu:~/piscine-go/strrevprog$
|
||
|
```
|