Giter Site home page Giter Site logo

bank-management-system's Introduction

bank-management-system

Bank Management System

Overview

This project is a simple Bank Management System implemented in C++. It allows you to create bank accounts, deposit and withdraw funds, and display account information. The system is designed to demonstrate basic OOP principles and the use of vectors for managing multiple accounts.

Features

  • Create new bank accounts
  • Deposit funds into accounts
  • Withdraw funds from accounts
  • Display information for all accounts

Getting Started

Prerequisites

  • A C++ compiler (e.g., g++, clang++)
  • A code editor or IDE (e.g., VS Code, CLion, Code::Blocks)

Installation

  1. Clone the repository or download the source code files.
    git clone https://github.com/yourusername/bank-management-system.git
  2. Navigate to the project directory.
    cd bank-management-system

Usage

  1. Compile the C++ code.
    g++ main.cpp -o bank_management_system
  2. Run the executable.
    ./bank_management_system

Example

Here's an example of how to use the system:

  1. The program starts by creating two accounts for "Alice Smith" and "Bob Johnson".
  2. It deposits $200 into Alice's account and withdraws $500 from Bob's account.
  3. Finally, it displays the information for all accounts.
int main() {
    BankManagementSystem bank;

    bank.addAccount("123456789", "Alice Smith", 1000.0);
    bank.addAccount("987654321", "Bob Johnson", 1500.0);

    bank.depositToAccount("123456789", 200.0);
    bank.withdrawFromAccount("987654321", 500.0);

    bank.displayAllAccounts();

    return 0;
}

bank-management-system's People

Contributors

114ayush avatar

Watchers

 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.