diff --git a/subjects/lastruneprog.en.md b/subjects/lastruneprog.en.md new file mode 100644 index 000000000..c687e6944 --- /dev/null +++ b/subjects/lastruneprog.en.md @@ -0,0 +1,19 @@ +## lastruneprog + +### Instructions + +Write a program that receives a `string` and returns the last `rune` of a `string`. + +### Expected output : + +```console +student@ubuntu:~/piscine-go/firstruneprog$ go build +student@ubuntu:~/piscine-go/firstruneprog$ ./firstruneprog "this is not happening" +g +student@ubuntu:~/piscine-go/firstruneprog$ ./firstruneprog "hello" +o +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$ +```