algorithms/even/even.go

6 lines
59 B
Go

package even
func isEven(n int) bool {
return n%2 == 0
}