Find Jobs
Hire Freelancers

an Automatic Teller Machine (ATM) transcation system.

$15-20 USD

Terminado
Publicado hace casi 21 años

$15-20 USD

Pagado a la entrega
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: for(i=0;i ## Platform i want from the coder to use Micrsoft visul [login to view URL] (file name.c)
ID del proyecto: 2941055

Información sobre el proyecto

7 propuestas
Proyecto remoto
Activo hace 21 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
See private message.
$10 USD en 14 días
4,9 (13 comentarios)
2,4
2,4
7 freelancers están ofertando un promedio de $13 USD por este trabajo
Avatar del usuario
See private message.
$15,30 USD en 14 días
4,9 (79 comentarios)
4,7
4,7
Avatar del usuario
See private message.
$8,50 USD en 14 días
5,0 (33 comentarios)
4,4
4,4
Avatar del usuario
See private message.
$17 USD en 14 días
5,0 (19 comentarios)
3,2
3,2
Avatar del usuario
See private message.
$11,05 USD en 14 días
4,4 (10 comentarios)
3,3
3,3
Avatar del usuario
See private message.
$17 USD en 14 días
5,0 (10 comentarios)
2,8
2,8
Avatar del usuario
See private message.
$12,75 USD en 14 días
2,9 (3 comentarios)
1,3
1,3

Sobre este cliente

Bandera de UNITED ARAB EMIRATES
United Arab Emirates
0,0
0
Miembro desde jun 3, 2003

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.