diff options
Diffstat (limited to 'exercises/functions/functions4')
-rw-r--r-- | exercises/functions/functions4/main.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/exercises/functions/functions4/main.go b/exercises/functions/functions4/main.go new file mode 100644 index 0000000..b8f84f9 --- /dev/null +++ b/exercises/functions/functions4/main.go @@ -0,0 +1,15 @@ +// functions4 +// Make me compile! + +// I AM NOT DONE +package main + +import "fmt" + +func main() { + fmt.Println("1 + 2 is: ", add_numbers(1, 2)) // don't change this line +} + +func add_numbers(a int, b int) { + return a + b +} |