0% found this document useful (1 vote)
154 views11 pages

ATM Banking System

This document describes an ATM banking system program written in C language. The program allows users to perform basic banking transactions through an ATM interface, including checking their balance, withdrawing cash, and depositing money. It uses a PIN verification system to authenticate users before transactions. The program displays a menu, takes the user's selection, and performs the corresponding transaction by updating the account balance and displaying outputs. The goal is to create a simple simulated ATM machine program for performing common banking tasks.

Uploaded by

HACKER 007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
154 views11 pages

ATM Banking System

This document describes an ATM banking system program written in C language. The program allows users to perform basic banking transactions through an ATM interface, including checking their balance, withdrawing cash, and depositing money. It uses a PIN verification system to authenticate users before transactions. The program displays a menu, takes the user's selection, and performs the corresponding transaction by updating the account balance and displaying outputs. The goal is to create a simple simulated ATM machine program for performing common banking tasks.

Uploaded by

HACKER 007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

ATM BANKING SYSTEM

C Language Project

GROUP – 16
HARIPRIYA THOTAPALLI - AP21110010830.
NANDITA MARRI - AP21110010829.
JOSHITHA CHINTHOTI - AP21110010828
Table of Contents

INTRODUCTION: 2
OBJECTIVE 2
ALGORITHM: 3
Flow Chart 4
SOURCE CODE 5
OUTPUT 7
If we press 1 7
If we press 2 8
If we press 3 8
If we press 4 9
CONCLUSION 10

1 | Page
INTRODUCTION:

In this ATM management system, we can operate different types of bank transactions using
C programming. The transactions are like Money Withdraw, deposit, Check balance, transfer
etc.; Here first we need a credit card(or)debit card which is linked with our bank account. By
inserting the card, we can get all details about our account. For this process we need to
enter our personal PIN number, so that it can confirm ownership of the account. We have
different steps in process like Transaction type etc.;

OBJECTIVE

The main Features of the ATM Machine project:


The program will do some tasks mansion bellow too per at the ATM Machine:
1.The C Program Can Display ATM Transaction.
2.It has pin verification system to log into ATM Machine.
3.User can check balance from this ATM Machine project
4.User can Withdraw Cash from ATM Machine
5.User can Deposit Cash from ATM Machine
Language used: C Language
Operating system: Windows10 (or) Mac OS
Compiler used: DEV C++

2 | Page
ALGORITHM:

Step1: Start

Step2: Insert the Credit card or debit card

Step3: Enter pin number

Step4: If PIN number is valid go to step5, otherwise print “Invalid PIN”

Step5: If withdraw is selected enter amount

Step6: If withdraw<=balance, print “Invalid amount”

Step5: If check balance is selected go to step6

Step6: Show the balance in account

Step7: print “your transaction successful, thank you for using our service”

Step8: Stop

3 | Page
Flow Chart

Start

Enter pin

2nd try

3rd try terminates

Is the pin No
correct

Saving Account
Choose Current or
Saving Account

Checking Account
Decision

Yes

Check Account Checking Balance Account Balance


Balance or Withdraw Info
Cash

Withdraw

Yes

Amount to withdraw

No

Sufficient Yes Update New Balance Supply Cash


balance

yes no

Do you want another


transaction?

4 | Page
End
SOURCE CODE

#include <stdio.h>
unsigned long amount=2000, deposition, withdrawal;
int pin, choice, k;
char transaction ='y';
void main()
{
while (pin != 2025) // Using while loop to check for the condition on a pin number matching
{
printf("Enter your four digit pin number:");
scanf("%d", &pin);
if (pin != 2025) // Checking if the pin number types by the user is matched with the database
record or not
printf("Please enter a valid number\n");
}
do
{
printf("Hello! Welcome to our ATM Service\n");
printf("1. Balance Checking\n");
printf("2. Cash Withdrawal\n");
printf("3. Cash Deposition\n");
printf("4. Exit\n");
printf("Please proceed with your choice: ");
scanf("%d", &choice);
switch (choice)
{

5 | Page
case 1:
printf("\n The account balance in Rs : %lu ", amount);
break;
case 2:
printf("\n Enter the amount to be withdrawal: ");
scanf("%lu", &withdrawal);
if (withdrawal % 100 != 0)
{
printf("\n You are requested to enter the amount in multiples of 100");
}
else if (withdrawal >(amount - 500))
{
printf("\n You are having an insufficient balance");
}
else
{
amount = amount - withdrawal;
printf("\n\n You can now collect the cash"); // after having a sufficient amount in the
account the ATM machine will provide the cash amount.
printf("\n The current balance is: %lu", amount);
}
break;
case 3:
printf("\n Enter the amount to be deposited: ");
scanf("%lu", &deposition);
amount = amount + deposition;
printf("The balance is: %lu", amount); // Displays the new current balance after the cash
deposition in the user’s account
break;
case 4:

6 | Page
printf("\n We are thankful to you for USING our ATM services!");
break;
default:
printf("\n You have made an invalid choice");
}
printf("\n\n\n Would you like to have another ATM transaction?(Y/N): \n");
fflush(stdin);
scanf("%c", &transaction);
if (transaction == 'n'|| transaction == 'N')
k = 1;
} while (!k);
printf("\n\n Thank you so much for your time to choose The our ATM services!");
}

OUTPUT
If we press 1

7 | Page
If we press 2

If we press 3

8 | Page
If we press 4

CONCLUSION

9 | Page
We can complete the ATM transaction like withdrawl and can deposit the cash.It also shows
the balance money of the account.

10 | Page

You might also like