Completed

customer class

would you be able to help me solve my programming problem? I need help constructing a "customer class". I have attached the question for you to better understand below, I need this program to be written in pseudocode and I would also need a UML diagram as well.

Question:

2, Walgreens provides prescriptions for customers. Design a single class diagram showing the class, the application program, the relationship between the two, and multiplicity. Then write the pseudocode as described below. Be sure to follow the CTP 115 Style Criteria for naming conventions, class diagrams, pseudocode, keywords, and operators.

Create a Customer class that contains a customer number, customer age, and the number of prescriptions in which the customer has purchased in the last year. Include the following:

A default constructor that initializes each attribute to some reasonable default value for a non-existent customer.

Another constructor method that has a parameter for each data member, called the overloaded constructor. This constructor initializes each attribute to the value provided when an object of this type is instantiated. If the customer's age is not between 16 and 100 inclusive, then display an error message and set the age to 0.

Accessor and mutator methods for each attribute. For the age mutator, if the customer's age is not between 16 and 100 inclusive, then set the age to 0, since this is obviously an error

A method that displays all the data about a customer,

An application program that contains two modules: the main() module and the checkForPrescriptions() module. Include instructions in the main() module to do the following:

Create and initialize a Customer object using the default constructor, naming it newCustomer. Call the appropriate methods to initialize all the data members for the newCustomer object, choosing appropriate values. In this case newCustomer is the name of the object.

Create and initialize 2 other different Customer objects using the overloaded constructor. Choose appropriate values for the attributes for each of the two Customer objects.

Call the checkForPrescriptions() method for each Customer object, so there will be 3 calls to the checkForPrescription() method. The checkForPrescription() module must do the following:

1) Accept a Customer argument (i.e., it has a parameter declared using Customer as the data type).

2) Display all the data for any customer that is between 16 and 21 years old and has more than 2 prescriptions.

Skills: Java, UML Design, Verilog / VHDL, Engineering, Software Architecture

See more: php customer class, typepad customer class sign application, customer class pensioner class details, customer class hotel system, customer service jobs in dubai for indians, old style cartoon for hire, i need artwork for a ten year old to do for a lesson, for your message, happy birthday song for text message, job vacancies for graphic designers in rome flag this message delete this message, looking for old chef cars for sale, old spice ringtone for iphone, Taxi system, with driver app, driver dashboard, customer app, customer dashboard, web booking page for call center staff,, I need a data entry expert for my multiple projects. If you have knowledge please bid. Details will be shared in message with th, website down for maintenance message, temporarily down for maintenance message, how to obtain old tax returns for free, old mobile phones for sale, customer service assistant job description for resume

About the Employer:
( 0 reviews ) Glen Burnie, United States

Project ID: #21889916

Awarded to:

tausy

Hi, I'm a software developer with over 5 years of experience working on Java, Python and many other tools and technologies. I can help you out with this UML design. Thanks, Tousif

$45 USD in 3 days
(53 Reviews)
5.6

2 freelancers are bidding on average $48 for this job

Owolabiezekiel

I have experience developing java and android application. I have good attention to detail and I understand your project perfectly and I believe I will be a great fit for this project. Please do not hesitate to hit m More

$50 USD in 5 days
(0 Reviews)
0.0