solved ex1.1

This commit is contained in:
sm
2016-07-27 21:34:16 -07:00
parent 7cc6a2956e
commit c8f07674f8
+16
View File
@@ -0,0 +1,16 @@
// e1.1 solves Exercise 1.1
package main
import (
"fmt"
"os"
)
func main() {
s, sep := "", ""
for _, arg := range os.Args {
s += sep + arg
sep = " "
}
fmt.Println(s)
}