Can someone give me an idea on how to get started on this program? I have been having problems on this for a week and cannot get started. I understand this in visual logic but cannot get the total amound to print. Can anyone walk me through this or show me how its done? Thanks.
Make a VisualLogic flowchart and write the Python 3.0 program for the following problem. A list of employees names, hours worked in a week and the hourly rate of pay is entered. Read in each employee’s data and print out the pay for the week (including 1.5 times overtime pay for hours over 40). At the end, print the total pay for all employees. Some sample data is shown below (with the corresponding output). Hint: First write a while loop to read in employee data (one employee at a time) and print it. Then enhance your work to process an employee without overtime pay. Then include overtime pay and finally, produce the total pay.
The input and output can be “interlaced” as shown below. Your program must produce the exact Input/Output shown.
Input/Output:
Enter employee’s name: “John Smith”
Enter employee’s hours worked: 50
Enter employee’s hourly rate of pay: 10
John Smith’s pay=$550.00
Enter employee’s name: “Jane Doe”
Enter employee’s hours worked: 40
Enter employee’s hourly rate of pay: 15
Jane Doe’s pay=$600.00
Enter employee’s name: “Mark Manning”
Enter employee’s hours worked: 60
Enter employee’s hourly rate of pay: 12
Mark Manning’s pay=$840.00
Enter employee’s name: “zzzz “
Enter employee’s hours worked: 0 (this line is optional)
Enter employee’s hourly rate of pay: 0 (this line is optional)
Total pay=$1990.00
DUE DATE: October 26, 2014 @ 11:55pm