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.
607 B
607 B
firstruneprog
Instructions
Écrire un programme qui reçoit une string
et qui retourne la première rune
de cette string
.
Utilisation :
student@ubuntu:~/[[ROOT]]/firstruneprog$ go build
student@ubuntu:~/[[ROOT]]/firstruneprog$ ./firstruneprog "this is not happening"
t
student@ubuntu:~/[[ROOT]]/firstruneprog$ ./firstruneprog "hello" | cat-e
h$
student@ubuntu:~/[[ROOT]]/firstruneprog$ ./firstruneprog "this" "is" "not" "happening"
student@ubuntu:~/[[ROOT]]/firstruneprog$
student@ubuntu:~/[[ROOT]]/firstruneprog$ ./firstruneprog
student@ubuntu:~/[[ROOT]]/firstruneprog$