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.
Stuck? You may find these lessons helpful: