Skip to content

gisneiryg/The-Banking-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bank Management System

Project Description

The Bank Management System is a C++ application designed to simulate basic banking operations using different data structures and algorithms. The system allows users to create accounts, search for clients, perform deposits and withdrawals, and manage account information efficiently. The project also analyzes the performance of different searching and sorting algorithms to evaluate system optimization and efficiency.


Team Members

  • Elier Rivera
  • Gisneiry Galan

Programming Language and Dependencies

Programming Language

  • C++

Libraries Used

#include <iostream>
#include <vector>
#include <string>
#include <map>
#include <queue>
#include <algorithm>
#include <fstream>
#include <sstream>
#include <chrono>

Dependencies

  • Standard C++ Compiler (g++)
  • No external libraries are required

How to Compile and Run the Program

Step 1: Open the Terminal

Navigate to the folder where the project files are located.

Step 2: Compile the Program

Use the following command:

g++ main.cpp -o bankSystem

Step 3: Run the Program

After compiling, run the executable:

./bankSystem

Sample Input and Expected Output

Sample Input

1 Juan Pablo 1001 500

Expected Output

Client added successfully!!


Algorithms Implemented

Searching Algorithms

Linear Search

  • Searches through all accounts one by one.
  • Easy to implement but slower with large datasets.

Binary Search

  • Faster searching algorithm.
  • Requires the data to be sorted before searching.

Sorting Algorithms

STL sort()

  • Used to organize client accounts efficiently.
  • Provides fast sorting performance.

Data Structures Used

Vector

  • Stores all client account objects dynamically.
  • Allows efficient insertion and traversal.

Map

  • Stores account information using account numbers as keys.
  • Allows fast account lookup.

Queue

  • Simulates customer service order in the banking system.

Performance Analysis

The program uses the <chrono> library to measure execution times of different algorithms. This helps compare the efficiency of searching and sorting methods used in the system.


Report Link

Project Report


Notes

  • The project was developed for educational purposes.
  • The system demonstrates the use of object-oriented programming, data structures, and algorithm analysis in C++.
  • All data is stored during program execution and is not permanently saved unless file handling is implemented.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors