Giter Club home page Giter Club logo

conquerorcletus / mybank Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brightdaniel/mybank

0.0 0.0 0.0 20 KB

MyBank is a simple banking application implemented in C. It provides basic banking functionalities such as creating an account, transferring money, depositing money, checking the account balance, and generating transaction receipts. This project is developed as a learning exercise to demonstrate fundamental programming concepts.

C 100.00%

mybank's Introduction

mybank

MyBank is a simple banking application implemented in C. It provides basic banking functionalities such as creating an account, transferring money, depositing money, checking the account balance, and generating transaction receipts.

blue modern business presentation (1)_page-0001

Prerequisites

To compile and run MyBank, ensure that you have the following:

  • C compiler (e.g., GCC) installed on your system.

Getting Started

Follow the steps below to get started with MyBank:

  1. Clone the repository or download the source code:
git clone https://github.com/your-username/mybank.git
  1. Compile the code using a C compiler:
gcc -o mybank mybank.c
  1. Run the executable:
./mybank

Usage

  1. Upon running the program, you will be prompted to create an account by entering your first and last names.

  2. Enter your password. The program will validate the password by asking you to re-enter it. You have three attempts to enter the correct password.

  3. Once your password is validated, you will be welcomed to MyBank, and your initial account balance of 50,000 will be displayed.

  4. The following options are available in the menu:

    • a. Transfer Money: Transfer a specified amount from your account to another recipient's account. Enter the recipient's account name, account number, bank name, and the transfer amount. If the transfer amount exceeds your account balance, an insufficient balance message will be displayed.

    • b. Deposit Money: Deposit a specified amount into your account. Enter the deposit amount. If the deposit amount is invalid (less than or equal to zero), an error message will be displayed.

    • c. Check Balance: Check the current balance of your account.

    • d. Quit the Program: Exit the program.

  5. After each transaction, a transaction receipt will be generated and saved in a file named "receipt.txt". The receipt contains details such as the transaction type, account name, account number, bank name, transaction amount, previous balance, current balance, and the date and time of the transaction.

Collaboration

Contributions to MyBank are welcome! If you would like to collaborate on this project, please follow these steps:

  1. Fork the repository on GitHub.
  2. Create a new branch with a descriptive name:
git checkout -b feature/my-new-feature
  1. Make your modifications and write tests if necessary.
  2. Commit your changes:
git commit -am 'Add some feature'
  1. Push the branch to your forked repository:
git push origin feature/my-new-feature
  1. Submit a pull request detailing the changes you made.

Author

MyBank is developed and maintained by Bwave ICT.

License

This project is licensed under the MIT License.

Acknowledgments

The implementation of MyBank was inspired by the need for a simple banking application to demonstrate basic programming concepts.

Support

If you have any questions, suggestions, or encounter any issues while using MyBank, please feel free to open an issue. Your feedback is highly appreciated!

mybank's People

Contributors

brightdaniel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.