solved ex1.2
This commit is contained in:
parent
c8f07674f8
commit
acd75f4b03
|
@ -0,0 +1,13 @@
|
||||||
|
// e1.2 solves Exercise 1.2
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
for i, l := range os.Args {
|
||||||
|
fmt.Println(i, l)
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue