;;割り切れるかどうかを判別
(define (divisible? a b)
(zero? (modulo a b)))
;;閏年判定
(define (intercalary? year)
(if (divisible? year 100)
(if (divisible? year 400)
#t
#f)
(if (divisible? year 4)
#t
#f)))📝 このページに誤りを見つけたら…
GitHubで報告(エンジニア向け)
・
フォームで報告