diff --git a/subjects/printstr.en.md b/subjects/printstr.en.md index 2c59d3792..37d6bbef1 100644 --- a/subjects/printstr.en.md +++ b/subjects/printstr.en.md @@ -32,6 +32,6 @@ And its output : ```console student@ubuntu:~/piscine-go/test$ go build student@ubuntu:~/piscine-go/test$ ./test -Hello World!% +Hello World! student@ubuntu:~/piscine-go/test$ ``` diff --git a/subjects/printstrprog.en.md b/subjects/printstrprog.en.md new file mode 100644 index 000000000..a551b6d8a --- /dev/null +++ b/subjects/printstrprog.en.md @@ -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$ +```