Question: Java What would be the value of discountRate after the following statements are executed? double discountRate .04; int purchase 250; if (purchase > 1000) discountRate
What would be the value of discountRate after the following statements are executed? double discountRate .04; int purchase 250; if (purchase > 1000) discountRate .05: else if (purchase > 750) discountRate.03 else if (purchase > 500) discountRate .01; discountRate
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
