Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need this application completed ASAP. If you can do it, comment back and I wil

ID: 3548332 • Letter: I

Question



I need this application completed ASAP. If you can do it, comment back and I will ask you to send me the completed project zip folder for Visual Studio 2010 to my email. If the program works, ill award you the points as well as rate you!


Thanks

Person and customer Classes Design a class named Person with properties for holding a person's name, address, and telephone number: Next, design a class named Customer, which is derived from the Person class. The Customer class should have a property for a customer number and a Boolean property indicating whether the customer wishes to be on a mailing list. Demonstrate an object of the Customer class in a simple application. Preferredcustomer Class A retail store has a preferred customer plan where customers can earn discounts on all their purchases. The amount of a customer's discount is determined by the amount of the customer's cumulative purchases in the store as follows: When a preferred customer spends $500, he or she gets a 5 percent discount on all future purchases. When a preferred customer spends $1,000, he or she gets a 6 percent discount on all future purchases. When a preferred customer spends $1,500, he or she gets a 7 percent discount on all future purchases. When a preferred customer spends $2,000 or more, he or she gets a 10 percent discount on all future purchases. Design a class named Preferredcustomer, which is derived from the Customer class you created in Programming Exercise 4. The Preferredcustomer class should have properties for the amount of the customer's purchases and the customer's discount level. Demonstrate the class in a simple application.

Explanation / Answer

Hi, Please find below sample application developed in windows forms application.

using

using

using

using

using

using

using

using

using

namespace

{

{

{

InitializeComponent();

}

{

cust.PurchaseAmount =

{

cust.DiscountPercentage = 5.0M;

}

{

cust.DiscountPercentage = 6.0M;

}

{

cust.DiscountPercentage = 7.0M;

}

{

cust.DiscountPercentage = 10.0M;

}

cust.DiscountAmount = (cust.PurchaseAmount * cust.DiscountPercentage) / 100.0M;

}

}

{

{

{

}

{

personName =

}

}

{

{

}

{

personAddress =

}

}

{

{

}

{

personTelephoneNumber =

}

}

}

{

{

{

}

{

customerNumber =

}

}

{

{

}

{

enableMailing =

}

}

}

{

{

{

}

{

purchaseAmount =

}

}

{

{

}

{

discountPercentage =

}

}

{

{

}

{

discountAmount =

}

}

}

}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote