•
Contents
•
Up
•
Test
•
Write a definition of isDivisibleBy(
n
,
m
), which yields true if
n
is divisibly by
m
. For example, isDivisibleBy(10,5) is true, but isDivisibleBy(10,7) is false.
Answer
Store
Compute
[
Language:
Cinnameg
Kind:
function definition*]
(*You can define more than one function if you put a semicolon between definitions (but not between cases of one definition). Be sure to define a function before you use it.)