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

// I AM NOT DONE
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) {
	return a + b
}