RosettaCodeData/Task/Logical-operations/Scheme/logical-operations.ss

11 lines
195 B
Scheme
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
(define (logic a b)
(display "a and b is ")
(display (and a b))
(newline)
(display "a or b is ")
(display (or a b))
(newline)
(display "not a is ")
(display (not a))
(newline))