Programming Assignment # 8 A. Purpose of Program Using files as input and output B. C. Exercise My Credit Card Company has a file that called “BeginningBalance.dat” which contains the following information: • Customer number – integer • Beginning Balance – double • Purchases – double • Payments – double The company charges 1% of the beginning balance for finance charges. Write a Java program that does the following: • Read in the file, calculates the finance charge per customer • Display all information to the monitor including finance charge and outstanding balance • Creates an output file called “NewBalance.dat” that contains customer number and new balance. D. Notes and Comments E. Example input and output BeginningBalance.dat should look like this: 111 100.00 200.00 50.00 222 200.00 300.00 100.00 The display should look like this: Cust No Beg. Bal. Finance Charge Purchases Payments Ending Bal. 111 100.00 1.00 200.00 50.00 251.00 222 200.00 2.00 300.00 100.00 402.00 Totals 300.00 3.00 500.00 150.00 653.00 NewBalance.dat should look like this: 111 251.00 222 402.00
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more