Sign in
go
/
website
/
1929a4cfa19448f7aa9c253b9ce278efcc2c7388
/
.
/
_content
/
tour
/
basics
/
named-results.go
blob: 00478724adcf3b45389c0c2547a5c67a3951bac2 [
file
] [
log
] [
blame
]
// +build OMIT
package main
import "fmt"
func split(sum int) (x, y int) {
x = sum * 4 / 9
y = sum - x
return
}
func main() {
fmt.Println(split(17))
}