Overview Your program must compile and you must provide all

You Are Eligible For 15% Discount This Month!

Overview Your program must compile and you must provide all of the source code files so that I can also compile and run your program (i.e. provide me with all files ending in .h and .cpp that are necessary to compile your program). You may use any resources, books, or notes. Apart from your textbook and provided examples, you must mention all resources that you use as comments next to the applicable lines of code or the appropriate functions within your source code or within the main comment at the top of your source code file. LoansRus.com has contracted you to implement a simple loan tracking system. The company will consider your program as a proof-of-concept prototype for future work on a larger system. The program will provide a simple text based interface that will The program will manage the attributes for each loan, which will consist of The program must use the “list” API in the C++ standard template library (STL). The program must implement at least one class that will hold the following variables allow a loan officer (the user) to enter attributes associated with each loan. an individual node within a single linked list stored in memory. The linked list can be a global variable for simplicity like the Book Inventory example. (INPUT VALIDATION is only required where indicated): loanId – A string variable that will hold an automatically generated character string as the loan identifier. The string must be in the form LLL-NNN-LL, where N is a number from 0 to 9, and L is a character from A to Z. For example: KYH-809-AG. The loanId is a unique identifier for each loan in the linked list and repeats are not allowed. date — A string variable to hold the date the loan was established. The date must be in the form mm/dd/yyyy. Input Validation Required: Must re-prompt the user to re-enter the date if it is not the valid format provided above. loanType — An integer variable ranging from 1 to 5 that associates a loan with one of the following categories: 1=Auto 2=Home 3=Student 4=Vacation 5=Miscellaneous. Input Validation Required: Must re-prompt the user if the value of the entered loan type is not within the category range. firstName – A string variable to hold borrower’s first name. lastName – A string variable to hold borrower’s last name. streetName A string variable to hold the borrower’s street name and street number. Spaces must be allowed between the street number and street name. city A string variable to hold the name of the borrower’s city. state A string variable to hold the two-character state abbreviation of where the borrower is located. Input Validation Required: Must re-prompt the user if the entered state is more than two characters. zipCode A five-digit integer variable to hold the zip code for where the borrower resides. Input Validation Required: Must re-prompt the user to re-enter the zip code if it is not a five-digit number. dayOfMonthDue – An integer variable to hold the day of the month that payment is due. The entered day of the month must be an integer between 1 – 12. Input Validation Required: Must re-prompt the user if the value is not within the defined range. 2. The program will provide a simple text-based user interface that manages all of the loans within a linked list. Each loan must be placed in linked list as an object that holds all of the attributes associated with it as mentioned above. The user interface will allow the load officer (or user) to perform the following: (a) Enter Loan – allows the user to enter all of the fields associated with a review for given loan, except for the loanId, which will be automatically generated by the program as previously mentioned. After the fields are entered, the program will place the loan object in the global linked list. (b) Display Loan – displays all of the loans within the linked list along with their associated properties. When displaying the loan’s category, the program must print the category number along with the category name. In addition, this option must print the total number of loans in the linked list. (c) Search for Loan – allows the user to find a loan by its loan identifier. The program will prompt the user to enter the loanId and will display all of the fields associated with the given loan if it is found. The program must display an error message if the loan is not found in the linked list. (d) Edit Loan – allows the user to edit the fields for a given loan that is in the linked list (except for the loanId). The program must prompt the user to enter the loanId as the key to find the loan to edit. Print a message if the loan is not found in the linked list. For simplicity, the program may re-prompt the user to re-enter all of the fields associated with the given loan; however, it must reuse the loanId value. (e) Delete Loan – allows the user to delete a loan from the linked list using the loanId as the key. The program must display a message if the provided loanId is not found in the linked list. (f) Exit System – before the program exits, it must save all of the data in the linked list to the data file. I recommend using a standard text file w/ one field in the object per line. At this point, if the file does not exist, the program will create it. Hints and Tips The Book Inventory program provides a good place to start & recommend using it as a model. It provides a simple text based interface, shows how to create a class, and how to use the C++ STL library’s linked list API for adding and displaying items in a linked list. You should rename its files, the class, and methods in the as a starting point for your program. Start by breaking the program down into small pieces.First, work on the feature that allows you to enter a loan along with all of its fields.Next, work on the display feature that will show all of the loans and Next, make sure your program can read and write one loan and its fields Then expand the program to read and write all of the loans to and from the data file. The data file functions for this can be modeled after those in Finally, work on the search, modify, and delete features. their associated fields contained within the linked list. to and from the data file. File Operations example and the display and enter functions that you will create.

Our Prices Start at $11.99. As A First Time Client, You Are Eligible For 15% Discount This Month!

Get The Answer Here
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *