Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
(let ((a (read *standard-input*))
|
||||
(b (read *standard-input*)))
|
||||
(cond
|
||||
((not (numberp a)) (format t "~A is not a number." a))
|
||||
((not (numberp b)) (format t "~A is not a number." b))
|
||||
((< a b) (format t "~A is less than ~A." a b))
|
||||
((> a b) (format t "~A is greater than ~A." a b))
|
||||
((= a b) (format t "~A is equal to ~A." a b))
|
||||
(t (format t "Cannot determine relevance between ~A and ~B!" a b)))))
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
(defun compare-integers ()
|
||||
(let ((a (read *standard-input*))
|
||||
(b (read *standard-input*)))
|
||||
(cond
|
||||
((not (numberp a)) (format t "~A is not a number." a))
|
||||
((not (numberp b)) (format t "~A is not a number." b))
|
||||
((< a b) (format t "~A is less than ~A." a b))
|
||||
((> a b) (format t "~A is greater than ~A." a b))
|
||||
((= a b) (format t "~A is equal to ~A." a b))
|
||||
(t (format t "Cannot determine relevance between ~A and ~B!" a b)))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue