[SOLVED]  SOLVED: calcDiscount

25.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon CustomerApplicationSale_bothParts.zip (80.2 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (3 votes)
PART 1 (10 points): A retail store is having a customer appreciation sale. Depending on the total dollars purchased, the customer could receive a discount on his or her total purchases. You are to develop pseudocode or C# ***** that will obtain the total dollars purchased from the user, determine the discount percentage, and display the total amount due. When the purchases are more than $200, the discount is 20%. When the purchases are $200 or less, the discount is 10%.
PART 2 (10 points): Create a function called calcDiscount that will calculate and return the discount amount. Write the function and call it in the code.
  • CustomerApplicationSale_bothParts.zip