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.

20 lines
618 B

## lastruneprog
### Instructions
Écrire un programme qui reçoit une `string` en paramètre et qui retourne la dernière `rune` de la `string`.
### Utilisation :
```console
student@ubuntu:~/[[ROOT]]/firstruneprog$ go build
student@ubuntu:~/[[ROOT]]/firstruneprog$ ./firstruneprog "this is not happening"
g
student@ubuntu:~/[[ROOT]]/firstruneprog$ ./firstruneprog "hello" | cat -e
o$
student@ubuntu:~/[[ROOT]]/firstruneprog$ ./firstruneprog "this" "is" "not" "happening"
student@ubuntu:~/[[ROOT]]/firstruneprog$
student@ubuntu:~/[[ROOT]]/firstruneprog$ ./firstruneprog
student@ubuntu:~/[[ROOT]]/firstruneprog$
```