Question: Write an C# console application that 1. Prompts the user to enter the subtotal of their purchase 2. Read the subtotal 3. Ask the user

Write an C# console application that

1. Prompts the user to enter the subtotal of their purchase

2. Read the subtotal

3. Ask the user if they are a 'SuperShopper' (ask Y for Yes, N for No)

4. Read in the answer

5. If the user is a SuperShopper

a. If the subtotal is $50 or more > Give the user a 20% discount

b. If the subtotal is less than $50 > Give the user a 10% discount

6. If not a SuperShopper the user gets no discount

7. Assume a tax rate of 8.25%

The output should look similar to below and MUST include the Subtotal, Discount Amount, Subtotal Less Discount, Tax Owed, and Total.

Enter your purchase subtotal 50

Are you a SuperShopper? (Y/N) Y

Subtotal 50

Discount Amount 10.00

Less Discount 40.00

Tax 3.300000

Total 43.300000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!