Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
7
Task/Integer-comparison/Emacs-Lisp/integer-comparison.el
Normal file
7
Task/Integer-comparison/Emacs-Lisp/integer-comparison.el
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(defun integer-comparison (a b)
|
||||
"Compare A to B and print the outcome in the message buffer."
|
||||
(interactive "nFirst integer ⇒\nnSecond integer ⇒")
|
||||
(cond
|
||||
((< a b) (message "%d is less than %d." a b))
|
||||
((> a b) (message "%d is greater than %d." a b))
|
||||
((= a b) (message "%d is equal to %d." a b))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue