Skip to content

Given deposit, withdrawal and transfer transactions, the script returns balances from the respective accounts.

Notifications You must be signed in to change notification settings

emmakamau/Bank-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Bank Simulator

Python script that reads transactions from a predefined txt file, calculates balances based on deposits, withdrawals and transfers and prints the final balances.

Contributor

Emmaculate Kamau

Requirements

An IDE with Python3 installed.

Setup & Instruction

  1. Clone the repository here
  2. Extract and open the folder on VS code or navigate to the folder on your terminal.
  3. Run python3 run.py on the terminal.

BDD

After running the application; all the transactions are printed out on the terminal and the final balances as well.

License

MIT

Copyright (c) 2022 Emmaculate Kamau

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

About

Given deposit, withdrawal and transfer transactions, the script returns balances from the respective accounts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages