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

package main

import "fmt"

func main() {
	fmt.Println("1 + 2 is: ", addNumbers(1, 2)) // don't change this line
}

func addNumbers(a int, b int) int {
	return a + b
}