Answer

If the second number entered by the user is a zero, the program will attempt to divide by zero. Try it out and see what happens. (In this case the error isn't so bad---but similar errors can cause your program to abort execution (i.e., crash).

Return to lesson.



Hamlet Project
hamlet@cs.utah.edu