Explore BrainMass
Share

Explore BrainMass

    Python Program

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Write a Python program that would prompt the user for the number of employees to be entered, and then prompt for employee name, followed by wage, followed by hours worked.

    It would then calculate the gross earnings of each employee (if they worked over forty hours it would determine gross pay including overtime at 1.5 times wage, else it would determine gross pay based on normal wage and hours below forty).

    The data would be output to a table with the employee name, wage, hours, overtime hours, and gross pay.

    © BrainMass Inc. brainmass.com October 10, 2019, 3:35 am ad1c9bdddf
    https://brainmass.com/computer-science/python/python-program-determine-gross-pay-overtime-426603

    Solution Summary

    This posting contains the solution to the given problems.

    $2.19