Banking System

Medium Mini Projects & Algorithmic Challenges
Solve in Playground →

Problem Statement

Write a C++ program implementing a multi-account banking system supporting deposits, withdrawals, and balance queries.

Input Format

Number of commands N, followed by commands ('CREATE', 'DEPOSIT', 'WITHDRAW', 'BALANCE').

Output Format

Print transaction confirmation or balances.

Constraints

1 <= N <= 50

Sample Input

4
CREATE 101 1000.0
DEPOSIT 101 500.0
WITHDRAW 101 200.0
BALANCE 101

Sample Output

Created
Deposited
Withdrawn
Balance: 1300.00

Explanation

Simulates banking accounts with secure balance modifications.

Starter Code

#include <iostream>
#include <vector>
#include <iomanip>

class Account {
public:
    int accNo;
    double balance;
    Account(int a, double b) : accNo(a), balance(b) {}
};

int main() {
    int n;
    if (std::cin >> n) {
        // Write your banking system logic here
    }
    return 0;
}

Limits

  • Time Limit: 1s
  • Memory Limit: 256MB

Embedded C Programming

Updated: March 15, 2026
Intermediate

Embedded systems rely on efficient low-level programming to interact directly with hardware. In this course, you will learn how to write practical Embedded C programs used in real microcontroller-based systems. Rather than focusing only on theory, this course follows a practice-driven approach. Each lesson includes hands-on coding exercises that simulate real firmware development tasks used