Question: Function 1: divisible-by-7 In CLISP define your own function that takes a single integer as an argument and returns a Boolean that indicates whether the
Function 1: divisible-by-7
In CLISP define your own function that takes a single integer as an argument and returns a Boolean that indicates whether the number is divisible by 7. You do not have to perform error checking on the input.
Input: An integer
Output: A Boolean
Examples:
> (divisible-by-7 14)
#t
> (divisible-by-7 28)
#t
> (divisible-by-7 30)
#f or nil
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
