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.
 
 
 
 

685 B

inter

Instructions

Écrire un programme qui prend deux string et qui affiche, sans doublons, les caractères qui apparaissent dans les deux string, dans l'ordre dans lequel ils apparaissent dans la première.

  • L'affichage sera suivi d'un retour à la ligne ('\n').

  • Si le nombre d'arguments est différent de 2, le programme affiche un retour à la ligne ('\n').

Utilisation

student@ubuntu:~/piscine-go/test$ go build
student@ubuntu:~/piscine-go/test$ ./test "padinton" "paqefwtdjetyiytjneytjoeyjnejeyj"
padinto
student@ubuntu:~/piscine-go/test$ ./test ddf6vewg64f  twthgdwthdwfteewhrtag6h4ffdhsd
df6ewg4
student@ubuntu:~/piscine-go/test$