gokursu/functions/demo1.go

13 lines
192 B
Go
Raw Normal View History

2024-01-14 00:12:27 +03:00
package functions
import "fmt"
2024-01-14 00:20:11 +03:00
func Addition(number1 int, number2 int) {
var total = number1 + number2
fmt.Println("Result : ", total)
2024-01-14 00:12:27 +03:00
}
func SayHello() {
fmt.Println("Hello There !")
}