RosettaCodeData/Task/Leap-year/UNIX-Shell/leap-year-1.sh

4 lines
40 B
Bash

is_leap() {
return $((${1%00} & 3))
}