Play audio slide show -- Keyboard shortcut: 'x'  Lecture overview -- Keyboard shortcut: 'u'  Previous page: Examples with <kbd>if</kbd> -- Keyboard shortcut: 'p'  Next page: Example with cond: <kbd>american-time</kbd> -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home      Name binding, Recursion, Iteration, and Continuations - slide 12 : 42

Example with cond: leap-year?
(define (leap-year? y)
  (cond ((= (modulo y 400) 0) #t)
        ((= (modulo y 100) 0) #f)
        ((= (modulo y 4) 0) #t)
        (else #f)))
leap-year-or.scm
The function leap year programmed without a conditional.
Elucidate this program
A complete program for handling of time