diff options
Diffstat (limited to 'exercises/functions/functions2')
-rw-r--r-- | exercises/functions/functions2/main.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/exercises/functions/functions2/main.go b/exercises/functions/functions2/main.go new file mode 100644 index 0000000..d3dab80 --- /dev/null +++ b/exercises/functions/functions2/main.go @@ -0,0 +1,17 @@ +// functions2 +// Make me compile! + +// I AM NOT DONE +package main + +import "fmt" + +func main() { + call_me(10) +} + +func call_me(num) { + for n := 0; n <= num; n++ { + fmt.Printf("Num is %d\n", n) + } +} |