Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the final assignment, the rounding function is not called for the variables rate and hours hoursWorked simply because they were obviously rounded by the preceding lines. Notice that there is no call for the constant term 60 either, because we know it’s an integer without any problematic fractional part.

...