Use do to define (minimum lst) which returns the minimum of a list of numbers. You
may want to define an auxiliary procedure (smaller x y), using if, which returns the
smaller of two numbers.
I started doing this:
(defun minimum (lst)
"(lst) returns the smallest number of list."
(do ((numbers lst (cdr numbers))
But I'm stuck in the defining my command and would appreciate any insight greatly.
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment