Sign in
go
/
tour
/
984ce39053551b6d66482f8a93e12fb480dc1fbf
/
.
/
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))
}