Menu
support@authoritypapers.com
+1(805) 568 7317

i need this assingment in java please thank you beforehand please use simple java le 5152420

i need this assingment in java please. thank you beforehand. please use simple java


lete De euctures (C M. Lowenthal ASSIONMENT EBEYEW The ABC Hardware Company has hired you to wte a program for s Accounts Re lete De euctures (C M. Lowenthal ASSIONMENT EBEYEW The “ABC Hardware Company has hired you to wte a program for s Accounts Recelvable deredmes accourts that owe money to the compeny beceuse they have purchased teme and hewe no ye paid tor them There are two types of Input dats 1)A master e in ascending order by customer number (oustomer numbers are 4 dgts long). The te aho contains a 20 character customer name and a balance due. 2) A transaction fle that contains records of each transaction. This le is also in ascending order by oustomer number There should be more than one transaction record per master record. Each related group of data in a tie called a record. A record should be stored In a structure Each record starts with a character, “O for order or “p” for payment. Each record also contains the tour-digt customer number, a four-digt transaction number, and up to three more values: I the code is “O, the record oontains the bem ordered (o characters), the quanthy ordered (an integer) plus the cost of the tem. (You must mutiply to pet the total cost) If the code is “P”, the record contains the amount of the payment You are to read in records one at a time from the two fles and use the transaction le records to update the master s all transaction records for each master record before golng on to the next master record. the fle. Prode od 0ontains an “O in collumn 1, calculate the order amount end add t to the balence due. the transacon In column 1, ubtract the payment from the balance due. Keep a running total of the AR record conduint Balance of ABC Company (That is the sum of the balances due for each custcomer Your program should. Check for erors such as duplicate imaster records or records in the transaction file that do not appear in the master Sle. Ater processing a master record and all t's transactions the program should prepare an invoice for each customer which Ests the customer name, number, previous balance (balance belore transactions were performed), all transactions, and the final balance due (balance ater transactions are perlomed. The cutput should look something ke this… CUSTOMER NUMBER CUSTOMER NAME PREVIOUS BALANCE $XXX.xx TRANSACTION TRANSACTION TRANSACTION TRANSACTION SORDER AMOUNT ORDER AMOUNT S PAYMENT AMOUNT $ORDER AMOUNT ITEM ORDERED ITEM ORDERED PAYMENT ITEM ORDERED BALANCE DUE $XXXXX Dont forpet, payments reduce the balance and orders increase t. You are to create your own data using at lesst 7 customers with an average of 5 transactions each

"Order a similar paper and get 15% discount on your first order with us
Use the following coupon
"GET15"

Order Now