RosettaCodeData/Task/Leap-year/UNIX-Shell/leap-year-1.sh
2023-07-01 13:44:08 -04:00

3 lines
40 B
Bash

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