Question: Quarterback Salary Write the Python script that does the following: Collect the base salary amount for a quarterback Collect the number of touchdown passes the

Quarterback Salary Write the Python script that does the following: Collect the base salary amount for a quarterback Collect the number of touchdown passes the quarterback has thrown Collect the number of fumbles the quarterback has committed Output the total amount of the quarterbacks salary, the amount they will collect, and the total amount that will be donated to charity Salary Calculation The quarterbacks salary is calculated as follows: Base salary An additional 1% of the base salary for every touchdown pass thrown Subtract $5,500 for every fumble committed The quarterback has a clause in his contract that they will collect 88% of the contract value. The remaining 12% will be donated to a charity.

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!