Visit Our UNIX and Linux User Community


Simulation of ATM interface


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Simulation of ATM interface
# 1  
Old 11-01-2010
Simulation of ATM interface

Hi guys,

I recently discovered this problem and any help would be great.

1) Create a file in vi named Accounts_File with the following data:
The user, the name, the pin number, current balance and transaction history.

There are 3 users who need to be inputted with all their PIN, etc shown. In vi, how do I assign a name to a pin and transaction history, etc?

2) The program should great users with an initial screen prompting the user to log in.

3) When a user (one on the 3 in vi file) enters a valid username, he will be prompted to enter a PIN. If the PIN is recognised, the user will be allowed to login and the programme should navigate to the Accounts Options Menu (AOM) screen.

4) The AOM will display:
display balance, withdraw funds, deposit funds, mini stmt, logout.

5) Display balance displays the currently logged in user's account balance.

6) Withdraw funds will promp the user to select an amount to withdraw:
10, 20, 50, other.
The number is then subtracted from the user's account balance. If no funds, a message is displayed.

7) Deposit funds - will be added to the account balance.

8) Logout - programme should give them option to logout.

Any ideas how to tackle this? would be awesome for some code!
# 2  
Old 11-01-2010
Double homework post. Thread closed.

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

ATM to Ethernet conversion

More old kit ..... We have a bunch of old Sun kit E4500, E450 etc that are currently running on ATM nic's and need to be put on the the onboard Ethernet ports.... Anyone know how to do this without downtime? It'd be better if I can keep the original Ip Addresses though it may be possible to... (2 Replies)
Discussion started by: Martincorneuk
2 Replies

2. UNIX for Dummies Questions & Answers

Simulation of an ATM interface

Hi guys, I recently discovered this problem and any help would be great. 1) Create a file in vi named Accounts_File with the following data: The user, the name, the pin number, current balance and transaction history. There are 3 users who need to be inputted with all their PIN, etc... (1 Reply)
Discussion started by: Jimmy_c
1 Replies

3. UNIX for Dummies Questions & Answers

Create a simple ATM (Cash machine simulation)

I need to create a simple ATM (Cash machine simulation in unix) which shows a welcome screen, then a login screen to enter 3 users details. help please on the coding The users details need to be in a txt file: the details are: (PIN No, First name last name, Account number, Balance, Histrosy) ... (1 Reply)
Discussion started by: oobla01
1 Replies

4. SCO

Change SCO - GUI or Desktop interface to DOS based interface

Hi all I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface? If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies

5. Solaris

Command line Interface or GUI Interface not shown on solaris

Dear all, I am a newbie in solaris and I need your advice. I have a Solaris version 5.9 installed on Sunfire V240. I am able to ssh the machine from putty remotely. My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies

6. Homework & Coursework Questions

Client/server atm with sockets

Hello everyone!I would appreciate any help you could give me,I have to make a program of an atm machine using client server sockets and semaphores.I know how to construct an ATM in c++ but don't know anything about unix c.The problem is that Don't know what to do and how to link the two programs... (0 Replies)
Discussion started by: tamanas
0 Replies

7. IP Networking

Need Cisco hardware that'll translate IP to ATM

Hello, This is my first time here so I hope I can describe everything. Due to the nature of what we're doing, I'm only going to describe what I need. We need to convert TCP/IP to ATM. I'm not talking about encapsulizing it by wrapping ATM around it, rather pure conversion from IP to ATM.... (0 Replies)
Discussion started by: sohel2009
0 Replies

8. Shell Programming and Scripting

error in ftp script which pulls files from ATM

Hi Everyone, I have an ftp script which pulls files from ATM in a daily basis. But for the last two days i found that the script is throwing some error like ******************************************** cat: 0652-050 Cannot open EJpullErr_20090411.log. cat: 0652-050 Cannot open... (5 Replies)
Discussion started by: Renjesh
5 Replies

9. UNIX for Advanced & Expert Users

FTP over ATM issue

We just recently upgraded our T1 wan link to a 10Mbit ATM link. Windows pc's seem fine and get great speed, however we have 2 Sco unix box's that seem really slow at FTPing now. both Sco box's are SCO OpenServer Enterprise System (ver 5.0.5m) compaq ML530's I'm not really sure what to... (4 Replies)
Discussion started by: whegra
4 Replies

Featured Tech Videos