RosettaCodeData/Task/Variables/Go/variables-7.go

6 lines
71 B
Go

func increase (x int) (more int) {
x++
more = x+x
return
}