Skip to content

Write and execute the statements for the following in LISP

AIM : Write and execute the statements for the following in LISP:

Post by: Sohrab Vakharia

i. Define the function average, which will take two numbers as arguments and compute their average.
ii. Define the function that computes the factorial of a number.

1)    Average function

2)    Factorial


Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!