What would be the pseudocode and code for an ATM machine in Visual Basic?

Can anyone help me with the pseudocode of an ATM machine? I have only taken Java and C++ courses before, and Visual Basic is easy but I've never had to write pseudocode for a program before.

I have already designed the interface. It has a label at the top which displays messages to the user. Under the label is a keypad of numbers 0-9 with "Clear" and "Exit" buttons. To the right of the keypad are four buttons: "Deposit", "Withdraw", "Inquire" and "Exit".

When the ATM machine program is started, it will display a message to the user that says something like "Welcome to the Bank ATM". The first thing that it does is ask for a 4-digit PIN from the customer. If the PIN is not four digits, it displays an error.If it is the correct PIN, the user is allowed to select from the following:

Deposit: Deposit an amount of money.

Withdraw: Withdraw an amount of money.

Inquire: Check what the balance is.

Exit: Exit..

I have browsed the internet for examples of ATM machines in Visual Basic but they're all from different versions of VB. Help is much appreciated. Thank you.
Who is Participating?
vbturboConnect With a Mentor Commented:

Try read this article.
It gives you the Conceptual and models the object oriented approach on how an ATM machine operates.
It also includes pseudocode to some extend , so you should have start point


Hope this helps you on the way
happy coding

regaloneAuthor Commented:
I am sorry.... I shouldnt have said code. I just want a general idea of the pseudocode for it? Im so used to Java and C++ that this is a little confusing. I know its something like

Start Program
User enters PIN
If =/ 4 digits
     Bring to main menu

Its the last ones Im having a problem with (except Exit, self explanatory)

regaloneAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.