https://github.com/abdo-essam/bankaccount
BankAccount, performs deposit and withdrawal operations, and handles scenarios like insufficient balance and invalid inputs.
https://github.com/abdo-essam/bankaccount
Last synced: about 1 year ago
JSON representation
BankAccount, performs deposit and withdrawal operations, and handles scenarios like insufficient balance and invalid inputs.
- Host: GitHub
- URL: https://github.com/abdo-essam/bankaccount
- Owner: abdo-essam
- Created: 2024-12-21T20:04:06.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-27T16:17:17.000Z (over 1 year ago)
- Last Synced: 2025-02-14T15:15:17.350Z (over 1 year ago)
- Language: Dart
- Size: 346 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dart BankAccount Class
This Dart program defines a `BankAccount` class to manage basic banking operations such as deposit and withdrawal.
## How to Run
1. Ensure you have Dart installed on your machine.
2. Clone the repository.
3. Navigate to the project directory.
4. Run the program using the command: `dart BankAccount.dart`
## Code Explanation
- `BankAccount`: A class with properties `accountID` and `balance`, and methods for deposit, withdrawal, and displaying account information.
- The `main` function demonstrates creating accounts and performing various operations, including handling insufficient balance and invalid inputs.
## Output
