Answered step by step
Verified Expert Solution
Question
1 Approved Answer
*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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started