Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

i'm tring to work on a atm program that works just like an atm but i have no clue were to start. i need to set a pin of 123 this is what i'm tring to do

 

Program Details:

 

Beginning Balance: The program should begin with a balance of $1,000.00

 

Enter Button: Used to enter personal identification number, and complete user functions.

 

PIN Number: The program must have only one valid PIN (123). Initially the user must enter the valid pin in order to access the user functions. Invalid PIN entries must be ignored and cause an error message to be displayed.

 

Clear Button: Resets all application variables to initial values. Essentially restarting the application from the beginning

 

Exit Button: Used to end program execution.

 

User Functions: Initially disabled until a valid PIN is entered.

 

Balance Button: Used to display the accounts current balance.

 

Balance must be displayed in a currency format.

 

Deposit Button: Used to increase the account balance. The user should be prompted to enter a deposit amount (in currency format) and to press the enter button. The deposit should be confirmed and the new account balance displayed (in currency format).

 

Withdrawal Button: Used to decrease the account balance. The user should be prompted to enter a withdrawal amount (in currency format) and to press the enter button. The withdrawal should be confirmed and the new account balance displayed (in currency format). Withdrawals greater than the current account balance must be rejected and an error message should be displayed.

 

Digit Keys: Must be implemented as a control array. Used to enter PINs and amounts for deposits and withdrawals. Entries must be limited to having only one decimal point.

 

Display Box: Users must not be allowed to directly enter any data into the applications display box. All entries into the display box must be made though the digit keys. Output should be displayed in the proper format (i.e. dollar amounts with dollar sign, decimal point, and two decimal places).

 

 

I have the form set up just dont know weere to start with the codeing

Edited by lizard
  • *Experts*
Posted

What kind of programming experience do you have? Can you create a Windows EXE project? Do you know how to create controls and add event handlers? Do you know about variables and classes? If you answered "no" to any of these, I'd suggest reading some online tutorials, the MSDN help, or getting a book first.

 

These forums are a great place to find answers, but answers to specific questions not "How do I write a program that does ___ ?".

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
  • *Experts*
Posted

This sounds like some sort of homework assignment. We will gladly help you with individual coding issues, but we won't simply explain how to do every last thing, nor will we write your code for you.

 

And Nerseus is correct - if you don't know where to begin, you're starting in a little too deep I think. Create some smaller simpler programs first, and maybe try to create the elements of your project individually before attempting to build them all into one large program.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...