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:
1.Read in the file, calculates the finance charge per customer.
2.Display all information to the monitor including finance charge and outstanding balance.
3.Creates an output file called “NewBalance.dat” that contains customer number and new balance.