Question: Create a simple function divisible-by? which takes two numbers and returns #t or #f if the first parameter is divisible by the second parameter. Note:

Create a simple function divisible-by? which takes two numbers and returns #t or #f if the first parameter is divisible by the second parameter.

Note: if the first parameter and second parameter are the same number, it should consider this a #f case (this is important for later).

(divisible-by? 10 2) #t

(divisible-by? 10 3) #f

(divisible-by? 2 2) #f

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!