mirror of https://github.com/01-edu/public.git
Augusto
5 years ago
committed by
Christopher Fremond
2 changed files with 18 additions and 1 deletions
@ -0,0 +1,17 @@ |
|||||||
|
## printstrprog |
||||||
|
|
||||||
|
### Instructions |
||||||
|
|
||||||
|
- Write a program that prints one by one the characters of a string pass as an argument of the program. |
||||||
|
|
||||||
|
### Expected output : |
||||||
|
|
||||||
|
```console |
||||||
|
student@ubuntu:~/piscine-go/printstrprog$ go build |
||||||
|
student@ubuntu:~/piscine-go/printstrprog$ ./printstrprog Hello World! |
||||||
|
Hello World! |
||||||
|
student@ubuntu:~/piscine-go/printstrprog$ ./printstrprog |
||||||
|
student@ubuntu:~/piscine-go/printstrprog$ |
||||||
|
student@ubuntu:~/piscine-go/printstrprog$ ./printstrprog "Hello" "World" |
||||||
|
student@ubuntu:~/piscine-go/printstrprog$ |
||||||
|
``` |
Loading…
Reference in new issue