Find Jobs
Hire Freelancers

Teller Machine (ATM) transcation system

$30-5000 USD

Cancelled
Posted almost 21 years ago

$30-5000 USD

Paid on delivery
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 “[login to view URL]? all information about the customer such as accounts information, and transactions. The file “[login to view URL]? was written using structure of type Customer. Another file “[login to view URL]? 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 “[login to view URL]? */ } Id; In your main function you should include the following definitions: Id id; Customer custmer; You will be given two files: [login to view URL] and ids.dat. The file “[login to view URL]? will include information about all customers. The file “[login to view URL]? will include the number of customers and information about bankcard ids and passwords. The file “[login to view URL]? was written using the something like the following code: ## Platform i want from the coder to use Microsoft visual [login to view URL] ( filename.c)
Project ID: 2941039

About the project

Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED ARAB EMIRATES
United Arab Emirates
0.0
0
Member since Jun 3, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.