Top Forums UNIX for Dummies Questions & Answers Simulation of an ATM interface Post 302468127 by Jimmy_c on Monday 1st of November 2010 06:29:27 PM
Old 11-01-2010
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 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!

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. Shell Programming and Scripting

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... (1 Reply)
Discussion started by: Jimmy_c
1 Replies

9. 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
ATMADDR(8)						       Maintenance Commands							ATMADDR(8)

atmaddr - list and maintain local ATM addresses SYNOPSIS
atmaddr [-n] [itf] atmaddr -r [itf] atmaddr -a [itf] atm_addr atmaddr -d [itf] atm_addr atmaddr -V DESCRIPTION
atmaddr is used to list the local addresses configured for ATM interfaces and to manually change the list of addresses. If the interface number itf is omitted, interface 0 is used by default. The ATM address atm_addr can be any valid ATM SVC address, e.g. an E.164 address or an ATM Forum NSAP address. If invoked without options, atmaddr lists the addresses that are currently configured on the specified interface. Note that local ATM addresses are normally automatically maintained by the ILMI demon. OPTIONS
-a append the specified address at the end of the list. -d delete the specified address from the list. -n numeric address output only. No address to name translation is attempted. -r reset (clear) the local address list of the specified interface. -V print the version number of atmaddr on standard output and exit. AUTHOR
Werner Almesberger, EPFL ICA <> SEE ALSO
ilmid(8) Linux April 26, 2000 ATMADDR(8)

Featured Tech Videos

All times are GMT -4. The time now is 11:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy