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
- 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 |
- 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
Get step-by-step solutions from verified subject matter experts
