forked from root/public
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.
613 B
613 B
comcheck
Instructions
écrire un programme comcheck
qui affiche sur la sortie standard Alert!!!
suivi d'un newline('\n'
) si au moins un des arguments passé ne paramètre correspond aux strings
:
-
01
,galaxy
ougalaxy 01
. -
si aucun des paramètres correspeond, le programme affiche un newline(
'\n'
).
Usage
student@ubuntu:~/piscine/comcheck$ go build
student@ubuntu:~/piscine/comcheck$ ./comcheck "I" "Will" "Enter" "the" "galaxy"
Alert!!!
student@ubuntu:~/piscine/comcheck$ ./comcheck "galaxy 01" "do" "you" "hear" "me"
Alert!!!
student@ubuntu:~/piscine/comcheck$