hello guys cananyone help me?
Author |
Message |
syphon_filter88
|
Posted: Thu Mar 12, 2009 11:55 pm Post subject: hello guys cananyone help me? |
|
|
Anyone can help me about my project? please? I needed it
Mod edit: [lengthy copy paste of the assignment about emulating ATM interactions was here] |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
|
|
|
![](images/spacer.gif) |
Insectoid
![](http://compsci.ca/v3/uploads/user_avatars/13760332514cbd0ce972eaa.jpg)
|
Posted: Fri Mar 13, 2009 8:54 am Post subject: RE:hello guys cananyone help me? |
|
|
What have you got so far? We don't know what you have, hoe competent you are, or if you care. We can't help without this information. |
|
|
|
|
![](images/spacer.gif) |
syphon_filter88
|
Posted: Sat Mar 14, 2009 12:57 am Post subject: Re: hello guys cananyone help me? |
|
|
Pls help me, im jst amateur in progrming
create a program that allows a user to do the following:
Create a bank account by supplying a user id and password.
Login using their id and password.
Quit the program.
Now if login was successful the user will be able to do the following:
Withdraw money.
Deposit money.
Request balance.
Quit the program.
If login was not successful (for example the id or password did not match) then the user will be taken back to the introduction menu. |
|
|
|
|
![](images/spacer.gif) |
Insectoid
![](http://compsci.ca/v3/uploads/user_avatars/13760332514cbd0ce972eaa.jpg)
|
Posted: Sat Mar 14, 2009 9:31 am Post subject: RE:hello guys cananyone help me? |
|
|
First, do the login. I would have a text file to hold the id and password as well as bank balance. So, ask for a username. Type it in. Look in the text file for that id. Ask for the password See if the password entered matches the password of the id. If it does, continue. If not, go back.
Ask what the user wants to do. If they enter 'withdraw', get an amount and subtract that from the total. if it's deposit, ask for an amount and add that to the total. If they enter balance, output the total money. If the say quit, exit. Then output all new values to the text file and quit. |
|
|
|
|
![](images/spacer.gif) |
|
|