İptal Edildi

Teller Machine (ATM) transcation system

Problem Overview In this project you are going to develop an Automatic Teller Machine (ATM) transcation system. The system is to be used with a bank ATM. The following transactions are supported: 1- Deposit into an account (Deposit) 2- Withdraw cash from an account (Withdraw) 3- Order checks (Checks) 4- See accounts information (Info) 5- Get mini-statement (Mini-statement) 6- Transfer from an account to another (Transfer) 7- Exit When the program starts, it should ask for an id number and then a password. If the password matches the id, a menu should be shown on the screen such as the menu shown below: 1 Withdraw cash 2 Deposit 3 Order checks 4 See accounts information 5 Get a Mini-statement 6 Transfer 7 Exit If the password does not match the id, then the message “Invalid id or password?? should appear on the screen and the program should ask again for an id and password.

## Deliverables

Commands Description 1-Withdraw: all accounts for the customer should be displayed on the screen from which the customer selects one to withdraw from. After withdrawal, the new balance is displayed. 2-Deposit: all accounts for the customer should be displayed on the screen from which the customer selects one to deposit to. After the deposit, the new balance is displayed. 3-Order checks: all checking accounts belonging to the customer must be displayed and the customer selects one from the list. After that, a message such as “Do you want to receive the checkbook in the mail or pick up from the main branch?? and the menu below should appear: 1 Receive in the mail 2 I will pick up from the main branch If the customer selects option 1, a message such as “You will receive your checkbook in the mail in about 3 days?? should appear. If the customer selects option 2, then the message “You can pick up your checkbook form the main branch in 2 days?? should appear. 4-Info: All accounts owned by the customer should be displayed along with the balance for each. 5-Mini-statement: The last 5 transactions (i.e., withdrawals transfers, and deposits) performed by the customer should be displayed. Note that the transactions may be performed in different sessions. 6-Transfer: The customer selects an account to transfer from and an account to transfer to. After the transaction is complete, each of the modified accounts should be printed along with the balance. 7-Exit: The customer should be logged out immediately and a message such as “Have a nice day?? should appear on the screen and then the message “Enter Your ID??. When the customer exits, the structure corresponding to the customer account should be written to the database file. Structures and Related Matter: You must use the following data structures and constants along with others that you may find useful in your program: #define MAXTRANS 5 #define MAXSTRING 20 #define MAXACC 10 typedef struct { int bankcard; char Trans[MAXTRANS][MAXSTRING]; /* hold last five transactions */ int numTrans; /* total number of transactions */ } Trans; typedef struct { int accounts[MAXACC]; /* account numbers */ char types[MAXACC][MAXSTRING]; /* types of accounts */ int balance[MAXACC]; /* balance for each account */ int numAcc; /* total number of accounts */ } Acc; typedef struct { char first[MAXSTRING]; /* customer’s first name */ char last[MAXSTRING]; /* customer’s last name */ Trans transactions; Acc accounts; } Customer; Your program should read and write to the file “[url removed, login to view]? all information about the customer such as accounts information, and transactions. The file “[url removed, login to view]? was written using structure of type Customer. Another file “[url removed, login to view]? includes the number of customers and the id and password of all customers. In order to read the ids and passwords of all customers, you should define the following sturcture: typedef struct { int id; /* customer id */ char password[MAXSTRING]; int recNum; /* the record order in file “[url removed, login to view]? */ } Id; In your main function you should include the following definitions: Id id; Customer custmer; You will be given two files: [url removed, login to view] and ids.dat. The file “[url removed, login to view]? will include information about all customers. The file “[url removed, login to view]? will include the number of customers and information about bankcard ids and passwords. The file “[url removed, login to view]? was written using the something like the following code:

## Platform

i want from the coder to use Microsoft visual [url removed, login to view] ( filename.c)

Beceriler: Her şey Kabul

Daha fazlasını gör: use of data structures, useful data structures, used structures, types of data structures in c, types of data structures, types of data structure, types data structures, types data structure, type of data structures, two types of data structures, statement problem, program problem statement, problem structures, new data structures, list of data structures, list in data structures, list data structures, first bankcard, different types of data structures in c, different types of data structures

İşveren Hakkında:
( 0 değerlendirme ) United Arab Emirates

Proje NO: #2941039