Resolved Issue #2 (faulty division calculations)

Added lines to convert the user's input into Floats before performing
calculations, so that division produces correct results.