RosettaCodeData/Task/Even-or-odd/UNIX-Shell/even-or-odd.sh
2023-07-01 13:44:08 -04:00

3 lines
34 B
Bash

is_even() {
return $(($1 & 1))
}