aboutsummaryrefslogtreecommitdiffstats
path: root/exercises/functions/functions2/main.go
blob: d3dab8019ca7e6a869ab55cf484d49e3c9f6ff37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)
	}
}