Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 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