Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

create a program to manage weekly personalized magazine service. - Each week, magazine is made available to each customer along with some extra supplements as

 create a program to manage weekly personalized magazine service. - Each week, magazine is made available to each customer along with some extra supplements as chosen by the customer. - A customer has a name, an email and a list of supplements which they are interested in. - A paying customer has a payment method and a list of associate customers whom they also pay for. - An associate customer is a customer whose subscription is paid for by a specified paying customer. - A payment method could be by a specified credit card or direct debit from a specified bank account. - A supplement has a name and a weekly cost. - The magazine also has a weekly cost for the main part.

 


+ Each week, each customer gets an email telling them their magazine is ready to look at and listing the supplements that they currently subscribe to. + Each month, each paying customer gets an email telling them how much is being charged to their card or account for the month and itemizing the cost by supplements for them and any of their associate customers.


Design and implement enough functionality in the classes to allow the operation of the following test program The client program should do the following:


a. construct a magazine with an array of 3-4 supplements with made-up details built in to the program,

b. construct an array of 5-6 different customers of various types with made-up details built in to the program,

c. print out the text of all the emails for all customers for four weeks of magazines,

d. print out the text for the end of month emails for the paying customers,

e. add a new customer to the magazine service,

f. remove an existing customer from the magazine service,

g. thoroughly test your program.


Step by Step Solution

There are 3 Steps involved in it

Step: 1

Here is a possible implementation of the program Customer Class java public class Customer private String name private String email private List Supplement supplements private PaymentMethod paymentMet... 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

Financial Management for Public Health and Not for Profit Organizations

Authors: Steven A. Finkler, Thad Calabrese

4th edition

133060411, 132805669, 9780133060416, 978-0132805667

More Books

Students also viewed these Programming questions

Question

Is times interest earned meaningful for utilities? Why or why not?

Answered: 1 week ago

Question

Distinguish among average, fixed, and variable costs.

Answered: 1 week ago

Question

What are the fund categories used by governments? Discuss.

Answered: 1 week ago

Question

- >y-

Answered: 1 week ago