Skip to content

goranbyte/bank-system-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Bank System CLI

A simple command line bank system written in C.

The program allows the user to check their balance, deposit money and withdraw funds while handling basic validation.

Features

  • Check account balance
  • Deposit money
  • Withdraw money
  • Input validation (negative values, insufficient funds)
  • Simple menu-based interface

How It Works

  1. The user selects an option from the menu
  2. Available options:
    • Check balance
    • Deposit money
    • Withdraw money
    • Exit
  3. The balance is updated based on user actions
  4. The program runs in a loop until the user exits

Technologies

  • C programming language
  • Standard C libraries

What I Learned

  • Using functions to organize code
  • Passing values between functions
  • Implementing menu systems with switch
  • Input validation
  • Managing program state (balance)

Example

WELCOME TO THE BANK!

Select an option:

  1. Check balance
  2. Deposit money
  3. Withdraw money
  4. Exit

Enter your choice: 2

Enter amount to deposit: $100

Successfully deposited $100.00

Your current balance is: $100.00

Author

Software engineering student at ITS

Flowchart generated by Gemini

gemini_flowchart1

About

Simple bank system CLI application written in C with deposit, withdrawal and balance tracking.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages