public/subjects/comcheck
Christopher Fremond 1ddb409d39
Update README.md
2021-07-02 19:09:58 +01:00
..
README.md Update README.md 2021-07-02 19:09:58 +01:00

README.md

comcheck

Instructions

Write a program comcheck that displays on the standard output Alert!!! followed by newline ('\n') if at least one of the arguments passed in parameter matches the string:

  • 01, galaxy or galaxy 01.

  • If none of the parameters match, the program displays nothing.

Usage

$ go run . "I" "Will" "Enter" "the" "galaxy"
Alert!!!
$ go run . "galaxy 01" "do" "you" "hear" "me"
Alert!!!
$