Commit f1f9afa5 authored by Taddeus Kroes's avatar Taddeus Kroes

funclang: Added series 2 program.

parent 12f1f9fc
(* Check if a given year is a leap year *)
let isLeapYear y =
y > 1582 && y mod 4 = 0 && (y mod 100 != 0 || y mod 400 = 0)
;;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment