RosettaCodeData/Task/Integer-comparison/Scheme/integer-comparison.ss

7 lines
163 B
Scheme
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
(define (my-compare a b)
(cond ((< a b) "A is less than B")
((> a b) "A is greater than B")
((= a b) "A equals B")))
(my-compare (read) (read))