You have chosen to sponsor your bid up to a maximum amount of .
I have a quick project that i would need help with it requires java programming. Details of the projetc are as follows. It is not long. It only explains how exactly i would ike the program to run. I need this done as soon as possible also. The java project will be as follows:
The ABC credit card company would like to implement a new preferred customer program. The current credit card, customers earn reward points, 1 reward point per dollarcharged on the credit card. A preferred customer will be able to earn 2 bonus reward points per dollar charged at specific merchants. The company maintains a list of credit card customers and updates its records every night. The company would like you to create new software so that it can have both credit card customers and preferred credit card customers, update its current records to reflect that some of its current customers are now preferred customers and have bonus rewards points, and update its current records to reflect new balances, new credit limits, and new rewards. Additionally, the company must be able to delete customers that have cancelled their cards from its current credit card customer list. It would like a menu-driven user interface to implement these features.The Requirement Specification will be as follows: The user interface must present a menu that will allow the credit card company to perform the following tasks:Update list of current customers using an update file which contains new information on current customers and which has bonus rewards for the new preferred customer program.Update list of current customers using a delete file which contains names of current customers who have cancelled their accounts. Display the list of customers to console and write the list to an output file sorted by name. Display the list of customers to console sorted by rewards.
All credit card customers have the following information: customer name (name)
card number (String, last 4 digits of credit card number)
credit balance (double)
credit limit (int)
The preferred customer has all the information of a credit card customer with the additional data of bonus (double).
The customer name has the following information:
The initial customer list is stored in a file, “creditCard.txt” and is in the format:
last name,first name,middle name,card num,credit balance,credit limit,rewards.
The file must be read and stored in an appropriate data structure. Once the initial data has been stored, the program should display the menu of options and allow the user to repeatedly perform any of the tasks on the menu until the “Exit” option is chosen.
Update: The update file, “update.txt” file has the following format:
last name,first name,middle name,card num,credit balance,credit limit,rewards
and may have an additional field, bonus for the new preferred card customers. The update option will read each line of the update file and search the list of current customers for the customer name. If the name is found, the update data should replace the initial data and change the credit card customer to preferred card customer where necessary. This will continue until the end of file is read. The update options will be run before the delete option since some
Delete: The delete file, “delete.txt” has the following format:
last name,first name,middle name,card number
The delete option will read each line of the delete file and search the list of current customers for the correct name. If the name is found, the match is confirmed by matching the card number before deleting the customer (or preferred customer) from the customer list.
Sort by last name: The customer list is sorted by last name and displayed to console and written to an output file, “yourLastName.out” (eg: “winans.out”). The output file should be neatly columnated with the preferred customers having an extra column for bonus rewards. The display to console will also indicate the preferred customers by displaying the bonus rewards data.
Sort by rewards: The customer list is sorted by rewards and displayed to console.
Exit: The program will exit.