Starting from:
$21.99

$15.99

CalcDiscount Solution

PART 1 (25 points): A cloth 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# code 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 $500, the discount is 10%. When the purchases are $200 or less, the discount is 5%. 

PART 2 (25 points): Create a function called calcDiscount that will calculate and return the discount amount. Write the function and call it in the code.

More products