Answer
Once again the wrong answer is printed out, even though the answer is assigned
to a REAL variable. The problem, as before, is that an integer division (which
produces an integer result) is being done since both the dividend and the
divisor are integers.
Return to lesson.
Hamlet Project
hamlet@cs.utah.edu