Write a double
function division
that takes two double
parameters and returns the value of the first divided
by the second. However, you should first use assert
to check that the divisor is not zero.
Stuck? You may find these lessons helpful: