Question: *PHP* 4. Using if/elseif/else statement determine the bonus percent. Make sure to change the value of $sales to fully test the script. If sales is

*PHP*

4. Using if/elseif/else statement determine the bonus percent. Make sure to change the value of $sales to fully test the script.

If sales is between 2000 and 3000, the percentage to calculate the bonus is .10

If sales is between 3001 and 4000, the percentage to calculate the bonus is .20

If sales is greater than 4000, the percentage to calculate the bonus is .30

Anything else gets a 0 for the bonus percentage

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!