Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Office Supplies Inc, an office supply store, services many customers. As customers orders for office supplies are shipped, information is entered into a file. Office

Office Supplies Inc, an office supply store, services many customers. As customers orders for office supplies are shipped, information is entered into a file. Office Supplies Inc bills their customers once each month. At the end of each month, the CEO requests a report of all customers sorted by their customer id (from lowest to highest). The report includes their bill balance and tax liability. Write a program to produce the outstanding balance report sorted by customer ID number from the data in the text file. Below is a description of the information on the text file:

JAVA

image text in transcribedimage text in transcribed

image text in transcribedimage text in transcribed

Assigned Date: 4/10 Due Date: 4/24 Concepts: Classes and objects, inheritance, polymorphism Point value: 100 points The purpose of this project is to give students exposure to object oriented design and programming using classes and polymorphism in an application that involves arrays of objects and sorting arrays containing objects You will write several classes for this program. Please submit all classes in one file The name of the physical program file submitted xxxx_ Program10, where xxxx is your Kean email id Office Supplies Inc, an office supply store, services many customers. As customers' orders for office supplies are shipped, information is entered into a file. Office Supplies Inc bills their customers once each month. At the end of each month, the CEO requests a report of all customers sorted by their customer id (from lowest to highest). The report includes their bill balance and tax liability. Write a program to produce the outstanding balance report sorted by customer ID number from the data in the text file. Below is a description of the information on the text file: The first line in the file contains the number of customers in the file (integer) . .Then, the fields below repeat for each customer: o Customer name (String) o Customer ID (integer) o Bill balance (double) o Email address (String) o Tax liability (double or String) The customers served by the office supply store are of two types: tax-exempt or non-tax- exempt. For a tax-exempt customer, the tax liability field on the file is the reason for the tax exemptions: education, non-profit, government, other (String). For a non-tax-exempt customer, the tax liability field is the percent of tax that the customer will pay (double) based on the state in which the customer's business resides From the information provided, write a solution that includes the following A suitable inheritance hierarchy which represents the customers serviced by the office supply company. It is up to you how to design the inheritance hierarchy. I suggest a Customer class and appropriate subclasses. Assigned Date: 4/10 Due Date: 4/24 Concepts: Classes and objects, inheritance, polymorphism Point value: 100 points The purpose of this project is to give students exposure to object oriented design and programming using classes and polymorphism in an application that involves arrays of objects and sorting arrays containing objects You will write several classes for this program. Please submit all classes in one file The name of the physical program file submitted xxxx_ Program10, where xxxx is your Kean email id Office Supplies Inc, an office supply store, services many customers. As customers' orders for office supplies are shipped, information is entered into a file. Office Supplies Inc bills their customers once each month. At the end of each month, the CEO requests a report of all customers sorted by their customer id (from lowest to highest). The report includes their bill balance and tax liability. Write a program to produce the outstanding balance report sorted by customer ID number from the data in the text file. Below is a description of the information on the text file: The first line in the file contains the number of customers in the file (integer) . .Then, the fields below repeat for each customer: o Customer name (String) o Customer ID (integer) o Bill balance (double) o Email address (String) o Tax liability (double or String) The customers served by the office supply store are of two types: tax-exempt or non-tax- exempt. For a tax-exempt customer, the tax liability field on the file is the reason for the tax exemptions: education, non-profit, government, other (String). For a non-tax-exempt customer, the tax liability field is the percent of tax that the customer will pay (double) based on the state in which the customer's business resides From the information provided, write a solution that includes the following A suitable inheritance hierarchy which represents the customers serviced by the office supply company. It is up to you how to design the inheritance hierarchy. I suggest a Customer class and appropriate subclasses

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

Step: 3

blur-text-image

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 Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions

Question

Determine the amplitude and period of each function.

Answered: 1 week ago

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago