Kotlinlearncs.online LogoJava
Return to List

Solve: Division with assert

Created By: Justin Maier
/ Version: 2024.9.0

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.

Related Lessons

Stuck? You may find these lessons helpful: