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.
 
 
 
 
 

579 B

printhex

Instructions

Écrire un programme qui prend un nombre positif (ou zéro) écrit en base 10, et qui l'affiche en base 16 (avec les lettres en minuscule) suivi d'un newline('\n').

  • Si le nombre de paramètres est différent de 1, le programme affiche un newline.

Utilisation

student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test "10"
a
student@ubuntu:~/piscine-go/test$ ./test "255"
ff
student@ubuntu:~/piscine-go/test$ ./test "5156454"
4eae66
student@ubuntu:~/piscine-go/test$

student@ubuntu:~/piscine-go/