subject

2. A class Member holds strings name and ID. This class represents the general member type for a store. In addition, a class Regular Member is a specific type of Member for members of regular type. Another
class, VIPMember is another specific type of Member that refers to members of VIP type.
Class store holds a string name and address and 5 members of Regular Member and VIPMember type
ench. The purpose of such member distinction is regular members have a discount rate of 2% and VIP
members have a discount rate of 5%.
Write the definition of Member, Regular Member, VIPMember and Store. The discount rate should be
included in your program. Show how the classes are related. Implementations are not needed.
To

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:00
What are procedures that keep a data base current
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 1
question
Computers and Technology, 23.06.2019 07:00
To produce a starlight effect in her photograph, lina should choose the filter for her camera.
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
The processing of data in a computer involves the interplay between its various hardware components.
Answers: 1
You know the right answer?
2. A class Member holds strings name and ID. This class represents the general member type for a sto...
Questions
question
Social Studies, 14.11.2019 00:31
question
Mathematics, 14.11.2019 00:31