Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 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