Skip to content

This is a simple ATM management system written in C. It use file-base storage.

Notifications You must be signed in to change notification settings

Uttamnath64/ATM-IN-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ATM Management System

This is a simple ATM management system written in C. It allows users to log in, deposit money, withdraw money, view transaction history, and view account details. All account and transaction data is stored in CSV files.

Features

  • Login: Enter card number and PIN to access the ATM.
  • Deposit: Add money to the account.
  • Withdrawal: Withdraw money from the account (if balance is sufficient).
  • View Transactions: Display a list of all transactions.
  • Account Details: View the account's balance, card number, and name.
  • File-Based Storage: All data is saved in account.csv and atm_tran.csv files.

Files

The project consists of three files:

  1. atm.c: The source code of the ATM system.
  2. account.csv: CSV file that stores account information.
  3. atm_tran.csv: CSV file that stores transaction history.

Setup Instructions

Follow these steps to set up and run the ATM system:

  1. Download Turbo C:
    Make sure Turbo C is installed on your system. You can download Turbo C from Turbo C Downloads.

  2. Copy the Files:
    Copy the following files to the Turbo C BIN directory:

    • atm.c: The main C program file.
    • account.csv: The CSV file containing account information.
    • atm_tran.csv: The CSV file containing transaction history.

    File Location:

    • Typically, Turbo C is installed in a directory like C:\TURBOC3\.
    • Go to C:\TURBOC3\BIN and paste all three files (atm.c, account.csv, atm_tran.csv).
  3. Opening the Project in Turbo C:

    • Launch Turbo C.
    • Open the atm.c file by navigating to File > Open and selecting atm.c from the C:\TURBOC3\BIN directory.
  4. Compile and Run:

    • After opening atm.c, compile the code by pressing Alt + F9.
    • Run the program by pressing Ctrl + F9.
  5. Account Setup:

    • The program reads user data from account.csv, which has the following format:

      1,1234567890,1234,Uttam Nath
      2,0987654321,5678,Ankit Nath
      
    • Similarly, add a new account, open the account.csv file and add a new line with the format: id,cardNo,pin,name. Ensure the id is auto-incremented.

  6. Using the ATM:

    • Once the program starts, you'll see the welcome screen.
    • You will be prompted to log in using a valid card number and PIN from account.csv.
    • After logging in, you can deposit, withdraw, view transactions, and view account information.

UI Output

Below is a sample of what the program's user interface looks like in Turbo C:

Welcome Screen

image

Login Screen

image

Home Menu

image

Deposit Screen

image

Withdrawal Screen

image

View Transactions

image

Account Details

image

Logout Screen

image

Demo Video

ATM.mp4

About

This is a simple ATM management system written in C. It use file-base storage.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages