Write the code to complete the method, calculatePercentageEa…
Write the code to complete the method, calculatePercentageEarned(), as defined below. This method receives the amount of money spent, then determines and returns the percentage coupon earned based on the following criteria: Coupon earned by Amount Spent Amount Spent Coupon Percentage Less than $10 0% From $10 to $50 inclusive 5% More than $50 to $150 inclusive 10% More than $150 to $200 inclusive 15% More than $200 20% Code submitted in the text box supplied must include the complete method signature and body, using the correct data types based on the problem statement.
Read Details