algorithms/even/even.go

6 lines
59 B
Go
Raw Normal View History

2020-12-09 09:09:50 +00:00
package even
func isEven(n int) bool {
return n%2 == 0
}