addition example
This commit is contained in:
parent
72293d4155
commit
26adaad561
|
@ -2,8 +2,9 @@ package functions
|
|||
|
||||
import "fmt"
|
||||
|
||||
func Addition() {
|
||||
|
||||
func Addition(number1 int, number2 int) {
|
||||
var total = number1 + number2
|
||||
fmt.Println("Result : ", total)
|
||||
}
|
||||
|
||||
func SayHello() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user