Question: I might have a problem with the syntax on this exercise. Everything is written but I get this errors ( screenshot will be attached). Please

I might have a problem with the syntax on this exercise. Everything is written but I get this errors ( screenshot will be attached). Please provide the answer trough Python screenshot so I have a better visual of the placement and the logic behind it.

Here are the instructions:

1. Make sure the file EmployeeBonus.py is selected and open.

2. Variables have been declared for you, and the input statements and print statements have been written. Read them over carefully before you proceed to the next step.

3. Design the logic and write the rest of the program using a nested if statement.

4. Execute the program by clicking the "Run Code" button at the bottom of the screen.

5. Enter the following as input:

Employees name: Kim Smith Number of Shifts: 25 Number of transactions: 75 Transaction dollar value: 40000.00 

I might have a problem with the syntax on this exercise. Everything

Ftle "EployeeBonus.py". line 24 ivityScore199) SyntaxError invalid syntax EmployeeBonus.py else if(produtivityScore >-70 & produt Summary In this lab, you complete a prewritten Python program that calculates an employee's productivity bonus and prints the employee's name and bonus. 2 EnployeeBonus.py- This progran calculates an enployee's productivity bonus 5 # Initialize variables here 6 BONUS 1 50.00 Bonuses are calculated based on an employee's productivity score as shown in the table below. A productivity score is calculated by first dividing an employee's transactions' dollar value by the number of transactions and then dividing the result by the number of shifts worked. 7 BONUS_275.80 8 BONUS 3180.06 9 BONUS_4 200.00 10 11 employeeNaneinput("Enter employee's name: ) 12 shiftString input( Enter number of shifts:") 13 transactString input("Enter number of transactions:) 14 dollarString 1nput( Enter transactions dollar value:") 15 16 numShifts float (shiftString) 17 nunTransactions float (transactString) 18 dollarValue float (dollarString) 19 # rite your code here 20 tf (produttvityScore30) 21 22 if (produtivityScore >31 & produtivityScore

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!