RosettaCodeData/Task/Integer-comparison/PicoLisp/integer-comparison.l

12 lines
288 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
(prin "Please enter two values: ")
(in NIL # Read from standard input
2019-09-12 10:33:56 -07:00
(let (A (read) B (read))
2013-04-10 21:29:02 -07:00
(prinl
"The first one is "
(cond
((> A B) "greater than")
((= A B) "equal to")
(T "less than") )
" the second." ) ) )