Final Project



 
 
 
 
 
 
 
DUE Day of Final Exam - Final Project

 

The purpose of the project is to create a software version of an ATM machine. Your program should be able to read data from a disk file and perform the functions of an ATM machine in software. Here is an outline of the actions that your program should follow:

The structure format is:           char PIN[6]
                                                    char NameOnAccount[25]
                                                    SocialSecurityNo[12]
                                                    char CheckingAccountNo[20]
                                                    decimal CAbalance[10]
                                                    date LastCAdeposit
                                                    char SavingsAccountNo[20]
                                                    decimal SAbalance[10]
                                                    date LastSAdeposit
                                                    int CreditCard1No[16]
                                                    decimal CC1Balance[10]
                                                    date LastCC1payment
                                                    int CreditCard2No[16]
                                                    decimal CC2Balance[10]
                                                    date LastCC2payment

When a user wants to access the data, your program will read the database data into an array of structures. Once the array of structures has been created, an index array is to be generated using a sorting algorithm. The index is for the PIN number. Do not sort the array of structures.  The program askes the user for their PIN number.  Once a valid PIN number has been obtained, your program should present the user with a menu of activities like the following.

B alance Report
T ransfer
D eposit
W ithdraw
M ake Payment
E xit Program

B - (Balance)

When the user chooses this option another choice is presented to the user to determine the account.
 

T- (Transfer Funds)

This option will ask the user the amount to transfer and to select the FROM account and the TO account and transfer the appropriate funds.
 

D - (Deposit Funds)

The user will be asked an amount to deposit and then asked to select the account to deposit the funds into.
 

W - (Withdraw Funds)

The user will be asked an amount to withdraw and then asked to select the account to withdraw the funds from.  The system must insure that no more than $300 in funds can be withdrawn on any given day.
 

M - (Make Payment)

The user can make a payment to a credit card on file.  The system askes for the account and amount and makes the appropriate adjustment to balance.
 

Q - (Quick Account)

The user will get a listing of all account activity.
 

E - (Exit Program)

This option terminates the program.

Make sure your data file is not in order by either social security numbers or names. Print a copy of your 20-record text data file to turn in along with a copy of your source code for the database program and enough screen prints to demonstrate all program requirements. Highlight the changes and be sure to label each screen print!