aboutsummaryrefslogtreecommitdiffstats
path: root/exercises/functions/functions3/main.go
blob: 69301b039da7ca478791f3f81a604f62ed229c2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// functions3
// Make me compile!

package main

import "fmt"

func main() {
	call_me(5)
}

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