Kotlinlearncs.online LogoJava
Return to List

Solve: Division by Possibly Zero

Created By: Justin Maier
/ Version: 2024.7.0

Given two double variables a and b, print the value of a divided by b. However, if b is zero, you should instead print "Division by zero is undefined". Remember, do not print the quotation marks.

Related Lessons

Stuck? You may find these lessons helpful: