Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Integer-comparison/NewLISP/integer-comparison.l
Normal file
11
Task/Integer-comparison/NewLISP/integer-comparison.l
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
(print "Please enter the first number: ")
|
||||
(set 'A (int (read-line)))
|
||||
(print "Please enter the second number: ")
|
||||
(set 'B (int (read-line)))
|
||||
(println
|
||||
"The first one is "
|
||||
(cond
|
||||
((> A B) "greater than")
|
||||
((= A B) "equal to")
|
||||
(true "less than"))
|
||||
" the second.")
|
||||
Loading…
Add table
Add a link
Reference in a new issue