Skip to content
/ ATM Public

This is an ATM simulator where users can view their account balance and withdraw or deposit money.

Notifications You must be signed in to change notification settings

Irina-29/ATM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ATM 💳

This is an ATM simulator where users can view their account balance and withdraw or deposit money.

About

The purpose of this Java Application was to learn the Java fundamentals as well as an introduction to Java GUI programming.

How it works

After the card is inserted by clicking on it, the user has to introduce a PIN using the ATM buttons. For this demo, the correct PIN numbers correspond to the initialized cards defined with the class Card. After pressing the Enter button on the ATM, the typed input number from the text field is compared to the PIN of each card from an array named “cardsList”. The account information (card ID, PIN, balance) associated to that specific card is saved in a private variable called “Account”, which helps in manipulating data for future transactions. The user can view the account balance and withdraw or deposit money. The withdrawal is possible only if the entered amount is less than or equal to the balance. After the user withdraws or deposits money, the account balance will always update.

Demo

Check it out: https://youtu.be/PBaQbJRhR54

Screenshots

About

This is an ATM simulator where users can view their account balance and withdraw or deposit money.

Topics

Resources

Stars

Watchers

Forks

Languages