Sign in
go
/
tour
/
9b24cf3985d245733ea9dc50411c25f0d1ceae9b
/
.
/
content
/
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))
}