From 29e68b61a1c917e15d392dcb26c86341982916ba Mon Sep 17 00:00:00 2001 From: Augusto Date: Tue, 1 Oct 2019 19:42:11 +0100 Subject: [PATCH] readme for firstrune program in the exam --- subjects/firstruneprog.en.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 subjects/firstruneprog.en.md diff --git a/subjects/firstruneprog.en.md b/subjects/firstruneprog.en.md new file mode 100644 index 000000000..578d9127e --- /dev/null +++ b/subjects/firstruneprog.en.md @@ -0,0 +1,19 @@ +## firstruneprog + +### Instructions + +Write a program that receives a `string` and returns the first `rune` of that `string`. + +### Expected output : + +```console +student@ubuntu:~/piscine-go/firstruneprog$ go build +student@ubuntu:~/piscine-go/firstruneprog$ ./firstruneprog "this is not happening" +t +student@ubuntu:~/piscine-go/firstruneprog$ ./firstruneprog "hello" +h +student@ubuntu:~/piscine-go/firstruneprog$ ./firstruneprog "this" "is" "not" "happening" +student@ubuntu:~/piscine-go/firstruneprog$ +student@ubuntu:~/piscine-go/firstruneprog$ ./firstruneprog +student@ubuntu:~/piscine-go/firstruneprog$ +```