Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are a WebApp designer for the Online shopping application, the FargoOnline company. Design and implement an online component to efficiently manage online customers. STEPS:

You are a WebApp designer for the Online shopping application, the FargoOnline company.
Design and implement an online component to efficiently manage online customers.
STEPS:
Create a Content Design for your WebApp component. Use Lucidchart to Create Class diagrams for the Customer Component.
The design of content architecture focuses on the definition of the overall hypermedia structure of the WebApp.
Component Description:
[10 points] Design a class named Person with properties for holding a persons first name, persons last name, email address, and telephone number. The class should include two constructors and the method ToString().
[10 points] Design a class Customer that 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. The class should include two constructors and the method ToString().
[10 points] Design the PreferredCustomer class that is derived from the Customer class you previously created. The PreferredCustomer class should have properties for the amount of the customers purchases and the customers discount amount.
Preferred customer customers can earn discounts on all their purchases. The amount of a customers discount is determined by the amount of the customers cumulative purchases in the store as follows:
When a preferred customer spends $500, they get a 5 percent discount on all future purchases.
When a preferred customer spends $1,000, they get a 6 percent discount on all future purchases.
When a preferred customer spends $1,500, they get a 7 percent discount on all future purchases.
When a preferred customer spends $2,000 or more, they get a 10 percent discount on all future purchases.
The class should include two constructors and the method ToString().
[70 points] Implement/Develop your classes and test them with the Windows Forms Application.
Note:
The PurchaseAmount property should include get and the set methods.
The DiscountAmount property should include get and read-only set methods.
Use decimal data type for discount and amount values.
Add validations to your setters.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions

Question

What was the positive value of Max Weber's model of "bureaucracy?"

Answered: 1 week ago