[Solved]Use Cultlisttxt File 100 900 Amazon Purchasing Amazoncom 200000 008 210 Nordstrom Purchasi Q37101816



Use the cultlist.txt file below
100
900 Amazon purchasing@amazon.com 20000.0 0.08
210 Nordstrom purchasing@nordstrom.com 50000.0 0.07
10 Rutgers purchasing@rutgers.edu 32000.0 education
520 Alamo purchasing@alamo.com 23000.0 0.05
1 Kean purchasing@kean.edu 158000.5 education
100 Allied purchasing@allied.com 85300.0 0.06
950 JoesInc purchasing@joesinc.com 999999.0 0.03
697 BostonU purchasing@tufts.edu 340020.23 education
310 TruckersInc purchasing@truckersinc.com 55000.0 0.10
820 Clothiers purchasing@clothiers.com 20044.0 0.05
849 RedCross purchasing@redcross.org 48900.2 non-profit
125 ChocolateRus purchasing@chocolate.com 3000.5 0.1
535 CareBear purchasing@carebear.com 6000.0 0.08
331 BalloonInc purchasing@balloon.com 5100.5 0.06
345 TiresInc purchasing@tires.com 25000.0 0.07
211 JeweleryInc purchasing@jewelery.com 52000.0 0.08
2 Vassar purchasing@vassar.edu 53000.0 education
521 Hertz purchasing@hertz.com 22200.0 0.07
9 JCU purchasing@jcu.edu 135678.5 education
120 Enterprise purchasing@enterprise.com 75300.0 0.06
958 Avis purchasing@avis.com 89999.0 0.03
699 Tufts purchasing@tufts.edu 340020.23 education
910 Truckers2Corp purchasing@truckers2corp.com 55000.0 0.10
825 LandsEnd purchasing@landsend.com 20054.0 0.04
853 TheFutureProject purchasing@tfp.org 48920.2 other
225 Bromilows purchasing@bromilows.com 3300.5 0.5
539 Thrifty purchasing@thrify.com 6600.0 0.07
339 FlowersRus purchasing@flowers.com 59300.5 0.08
660 Prudential purchasing@prudential.com 28900.0 0.07
567 MassMutual purchasing@massmutual.com 5890.0 0.08
111 Montclair purchasing@montclair.edu 39800.0 education
578 SaveTheChildren purchasing@savechildren.com 28760.0non-profit
154 NJDOE purchasing@njdoe.gov 158000.5 other
333 ShopRite purchasing@shoprite.com 82100.0 0.07
943 Turtles purchasing@turtles.com 88888.0 0.08
901 Brandeis purchasing@brandeis.edu 340020.23 education
610 TruckersRus purchasing@truckersrus.com 54000.0 0.08
821 Clothier&Son purchasing@clothiersson.com 20044.0 0.05
823 MLH purchasing@mlh.org 900.2 other
725 Calandras purchasing@calandra.com 43000.5 0.7
536 PinkElephant purchasing@pinkelephant.com 600.0 0.05
338 Essie purchasing@essie.com 5000.5 0.07
348 Uber purchasing@uber.com 1500.0 0.05
157 NYDOE purchasing@nydoe.gov 12000.5 other
213 Zales purchasing@zales.com 54300.0 0.07
322 Columbia purchasing@columbia.edu 54500.0 education
555 CheapCars purchasing@cheapcars.com 23210.0 0.09
99 NJIT purchasing@NJIT.edu 13978.5 education
358 DAV purchasing@dav.org 4860.2 non-profit
852 LLBean purchasing@llbean.com 2234.0 0.03
238 ArthritisREU purchasing@arthritisreu.org 4890.2 other
902 Etsy purchasing@etsy.com 20400.0 0.03
212 BedBath purchasing@Bedbath.com 55000.0 0.05
11 UPenn purchasing@upenn.edu 350000.0 education
522 EnginesRus purchasing@enginesrus.com 23500.0 0.06
8 SetonHall purchasing@setonhall.edu 158090.5 education
108 TiresToGo purchasing@tirestogo.com 8300.0 0.06
956 BillShop purchasing@billshop.com 9999.0 0.08
798 NorthEastern purchasing@northeastern.edu 40020.23education
318 Chocolatiers purchasing@chocolatiers.com 59000.0 0.03
819 DunkinDonuts purchasing@dunkingdonuts.com 2044.0 0.06
850 DiabetesOrg purchasing@diabetes.org 4900.2 non-profit
126 Beans purchasing@beans.com 1000.5 0.03
538 BabyGap purchasing@babygap.com 6100.0 0.07
334 PartyStore purchasing@partystore.com 500.5 0.03
349 Threads purchasing@threads.com 29000.0 0.05
218 ColorsInc purchasing@colorsinc.com 2000.0 0.06
12 CountyCollege1 purchasing@cc1.edu 5000.0 education
531 BusinessRUs purchasing@businessrus.com 1200.0 0.08
109 CountyCollege2 purchasing@cc2.edu 1678.5 education
128 Business2 purchasing@business2.com 5300.0 0.02
959 Oleander purchasing@oleander.com 2999.0 0.04
698 Harvard purchasing@harvard.edu 34020.23 education
914 TaxisInc purchasing@taxisinc.com 5000.0 0.09
829 Jjill purchasing@jjill.com 2054.0 0.05
859 CSTA purchasing@csta.org 4820.2 other
229 Godiva purchasing@godiva.com 3100.5 0.06
540 DryCleaners purchasing@drycleaners.com 6800.0 0.05
332 Macys purchasing@macys.com 58200.5 0.07
669 CADOE purchasing@cadoe.gov.com 2900.0 other
561 Prudential purchasing@prudential.com 58290.0 0.07
112 Linden purchasing@linden.gov 3800.0 other
579 FoodPantry purchasing@foodpantry.org 25760.0 non-profit
159 WADOE purchasing@wadoe.gov 18000.5 other
377 StopandShop purchasing@stopandshop.com 8100.0 0.06
953 WholeFoods purchasing@wholefoods.com 8888.0 0.06
907 FIT purchasing@fit.edu 30020.23 education
690 CarRental1 purchasing@carrental1.com 5400.0 0.04
851 Office1 purchasing@office1.com 2044.0 0.05
822 CodeHS purchasing@codehs.org 1000.2 other
727 Bakery1 purchasing@bakery1.com 4000.5 0.07
539 BabyToys purchasing@babytoys.com 6000.0 0.04
3 Google purchasing@google.com 500.5 0.01
19 NYYankees purchasing@nyyankees.com 15500.0 0.07
155 Census purchasing@census.gov 102000.5 other
110 Fridays purchasing@fridays.com 5300.0 0.06
328 CUNY purchasing@cuny.edu 5500.0 education
551 CheapFood purchasing@cheapfood.com 2210.0 0.04
18 LegoInc purchasing@lego.com 1978.5 0.02
359 DAV2 purchasing@dav2.org 4860.2 non-profit
Assignment: Best Office Supplies Inc, an office supply store, services many customers. As customers orders for office supplies are shipped, information is entered into a file. Best Office Supplies bills their customers once each month. At the end of each month, the Chief Executive Officer 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 on the file contains the number of customers on the file (numeric) .The fields below repeat for each customer: o Customer ID (numeric integer) o Customer name (String) o EmailAddress (String) o Bill balance (numeric) o Tax liability (numeric 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 (numeric) based on the state where 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. .For all classes include the following o Instance variables o Accessor and mutator methods o Suitable toString() methods o Any other appropriate methods Write a class which utilizes the following An Array of Customer objects o o A method which reads the input file provided and stores the objects in the array of Customers. o A method which sorts the array of Customers in ascending order by the customer ID A method that formats and prints the output report. The report should include the following requirements o .Report header at the start of each page showing the name of the company, report and page number .Report headers for each column of information. .One Customer per line. At most 50 Customers per page. .All money amounts and percentages should be displayed with2 decimal places and commas after each thousand. A sample report is shown at the end of the assignment. The report produced does not have to exactly match the sample output provided but must contain all required components listed above. o Any other helper methods used to meet the requirements of the assignment. o o The main method will call all the other methods which will . Read the text file and store the objects in the array . Sort the objects .Format and print the report .Test the program so that there are no errors using the input file provided, custlist.txt. Note that the program will only be tested using the file posted on Blackboard. You should not submit another file. .Record your planning time, coding time, testing time and bug fixing time Include a comment with your name and this information at the top of the program. Submit your program in one file, xxxx program6, where xxxx is your Kean email id. Sample Report Output: Note that lines have been omitted from each page in order to show page headers. Your output does not have to match exactly but all information should be properly labeled, report headers and column headers displayed. You should end up with 叶fice supplies Inc Customer Report Page: a ax Typex Amount .01 office Supplies Inc Custoner Report Page: 2 Show transcribed image text Assignment: Best Office Supplies Inc, an office supply store, services many customers. As customers orders for office supplies are shipped, information is entered into a file. Best Office Supplies bills their customers once each month. At the end of each month, the Chief Executive Officer 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 on the file contains the number of customers on the file (numeric) .The fields below repeat for each customer: o Customer ID (numeric integer) o Customer name (String) o EmailAddress (String) o Bill balance (numeric) o Tax liability (numeric 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 (numeric) based on the state where 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. .For all classes include the following o Instance variables
o Accessor and mutator methods o Suitable toString() methods o Any other appropriate methods Write a class which utilizes the following An Array of Customer objects o o A method which reads the input file provided and stores the objects in the array of Customers. o A method which sorts the array of Customers in ascending order by the customer ID A method that formats and prints the output report. The report should include the following requirements o .Report header at the start of each page showing the name of the company, report and page number .Report headers for each column of information. .One Customer per line. At most 50 Customers per page. .All money amounts and percentages should be displayed with2 decimal places and commas after each thousand. A sample report is shown at the end of the assignment. The report produced does not have to exactly match the sample output provided but must contain all required components listed above. o Any other helper methods used to meet the requirements of the assignment. o o The main method will call all the other methods which will . Read the text file and store the objects in the array . Sort the objects .Format and print the report .Test the program so that there are no errors using the input file provided, custlist.txt. Note that the program will only be tested using the file posted on Blackboard. You should not submit another file. .Record your planning time, coding time, testing time and bug fixing time Include a comment with your name and this information at the top of the program. Submit your program in one file, xxxx program6, where xxxx is your Kean email id.
Sample Report Output: Note that lines have been omitted from each page in order to show page headers. Your output does not have to match exactly but all information should be properly labeled, report headers and column headers displayed. You should end up with 叶fice supplies Inc Customer Report Page: a ax Typex Amount .01 office Supplies Inc Custoner Report Page: 2
Expert Answer
Answer to Use the cultlist.txt file below 100 900 Amazon purchasing@amazon.com 20000.0 0.08 210 Nordstrom purchasing@nordstrom.com… . . .
OR

