Question: Write an if/elif statement that assigns a value to the variable bonus depending on the amount of sales. Assume the amount of the sales is

  1. Write an if/elif statement that assigns a value to the variable bonus depending on the amount of sales. Assume the amount of the sales is stored in a variable called sales.

Sales

Bonus

>= 100,000

10,000

>= 75,000

5,000

>= 50,000

2,500

>= 25,000

1,000

  1. Write an if/elif statement that assigns a value to the variable bonus depending on the amount of sales. Assume the amount of the sales is stored in a variable called sales.

Sales

Bonus

>= 100,000

10,000

>= 75,000

5,000

>= 50,000

2,500

>= 25,000

1,000

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!