Files
compiler-explorer/examples/go/max_array.go
T
2015-02-20 10:45:43 +01:00

12 lines
125 B
Go

package main
func MaxArray(x, y []float64) {
for i, c := range x {
if y[i] > c {
x[i] = y[i]
}
}
}
func main() {}