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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!