LISP program to perform the bitwise operations
kw.lisp
Output
kodingwindow@kw:~$ clisp kw.lisp ——————————————————————————————————————————— Program to perform the bitwise operations ——————————————————————————————————————————— Enter the 1st number 1 Enter the 2nd number 0 1 AND 0 | 0 1 NAND 0 | -1 1 INCLUSIVE OR 0 | 1 1 EXCLUSIVE OR 0 | 1 1 NOT 0 | -2 1 EQUIVALANCE 0 | -2 ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
LISP program to demonstrate the use of trigonometric functions
LISP program to demonstrate the use of numeric conversion functions
LISP program to calculate the square and cube of numbers
Advertisement