1.1-Introductie-Programmeren

Bank Admin 2000

Difficulty: Filled Filled Filled

Create a program that simulates a bank. In this bank you can create accounts and you can transfer money between accounts. All accounts have a balance and a holder (that’s the name of the owner).

At the start of the program, at least 2 accounts must be entered otherwise the bank is unable to operate. More accounts may be added later.

The amount transferred has to be checked for balance. If someone wants to transfer more money then they own, the system should report this (and make sure it doesn’t happen!).

Example

Example

Example