10-07-2010
2,
0
Join Date: Oct 2010
Last Activity: 7 October 2010, 11:33 AM EDT
Posts: 2
Thanks Given: 0
Thanked 0 Times in 0 Posts
Simulate a ATM (cash machine) on UNIX(Putty) using scritps
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
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)
PIN001, Dale Cooper, 111, 1000, History
PIN002, Paul Atreides, 222, 2000, History
PIN003, Ray Manzarek, 333, 3000, History
I Understand this can be written in a script. If so, if anyone can help with creating a script that shows "Welcome to ATM Machine", What is your name? (the user would then input their name to log on. Then enter there pin number which is attached to the file to show their balance. It may seem very simple to create but I urgently need help.
I am using Putty on a Windows machine.
2. Relevant commands, code, scripts, algorithms:
In Putty, I have created the simple directory. But thats it
3. The attempts at a solution (include all code and scripts):
Attempted to write a script, but unsecessful in vi editor
4. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):
Middlesex University, London, Dr Mark Smythe, Course PDE3020 Coding and Practise.
Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).