RosettaCodeData/Task/Integer-comparison/PicoLisp/integer-comparison.l
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

11 lines
287 B
Text

(prin "Please enter two values: ")
(in NIL # Read from standard input
(let (A (read) B (read))
(prinl
"The first one is "
(cond
((> A B) "greater than")
((= A B) "equal to")
(T "less than") )
" the second." ) ) )