Make a function call in Lisp dividivel that recbe two arguments:
a dividend and a divisor x, and answer if T x is divisible by ye
NIL if x is not divisible by y.
pesquisar
Help lisp
-
- Posts: 148
- Joined: Wed Jul 30, 2008 11:26 pm
Re: Help lisp
What do you have so far? Do you know in general how to determine whether a number is divisible by another?
Re: Help lisp
Go to the CLHS (http://www.lispworks.com/documentation/ ... /index.htm), click on the "symbol index", and find the MOD function. Or search for it at http://lispdoc.com.