aboutsummaryrefslogtreecommitdiffstats
path: root/exercises/functions/functions2/main.go
blob: a8ab96ef89bac6c288f9ed1160e9779fa282afdd (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() {
	callMe(10)
}

func callMe(num) {
	for n := 0; n <= num; n++ {
		fmt.Printf("Num is %d\n", n)
	}
}