Sign in
go
/
website
/
32a21a08d063d0672b02f3d384c206f05b552dac
/
.
/
_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))
}