public/subjects/displayfirstparam
xpetit 46f4ddc49e
Simplify prompt, execution of Go programs, fix typos
2021-04-28 11:47:34 +02:00
..
README.md Simplify prompt, execution of Go programs, fix typos 2021-04-28 11:47:34 +02:00

README.md

displayfirstparam

Instructions

Write a program that displays its first argument, if there is one.

Usage

$ go run . hello there
hello
$ go run . "hello there" how are you
hello there
$ go run .
$