0% found this document useful (0 votes)
30 views10 pages

Sandy and Suraj JPR

The document describes an ATM simulation system created in Java. It includes a command line interface with options for withdrawals, deposits, and checking balances. The system updates the current balance after each transaction and ensures sufficient funds for withdrawals.

Uploaded by

sahebraopawane
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 (0 votes)
30 views10 pages

Sandy and Suraj JPR

The document describes an ATM simulation system created in Java. It includes a command line interface with options for withdrawals, deposits, and checking balances. The system updates the current balance after each transaction and ensures sufficient funds for withdrawals.

Uploaded by

sahebraopawane
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/ 10

A

PROJECT REPORT

ON

“ATM SIMULATION SYSTEM”


SHIVAJI POLYTECHNIC, ATPADI

IN THE PARTIAL FULFILLMENT OF THE REQUIREMENTSOF

DIPLOMA IN COMPUTER ENGINEERING


SUBMITTED BY

ENROLLMENT NAME OF STUDENT EXAM SEAT


NO. NO.
2212090011 Mr. Suraj. M. Shende
2212090015 Mr. Sandip. T. Babar 248453

2212090007 Mr. Ayush. V. More

UNDER THE GUIDENCE OF

MR. Belasare A.T.

SHRIRAM BAHUUDDESHIYA SEVABHAVI SANSTHA

SHIVAJI POLYTECHNIC, ATPADI


DEPARTMENT OF COMPUTER ENGINEERING
(2023-2024)
SHIVAJI POLYTECHNIC, ATPADI

CERTIFICATE
This is to certify that,

ENROLLMENT NO. NAME OF STUDENT EXAM SEAT


NO

23212660129 Mr. Suraj. M. Shende


2212090020 Mr. Sandip. T. Babar 248453
2212090017 Mr. Ayush. V. More

Of Class SY (Computer) as per the curriculum laid down by the Maharashtra State Board
of Technical Education, Mumbai have successfully completed entitled

“ATM SIMULATION SYSTEM”

Under our guidance in satisfactory manner as a part of academic syllabus during the
academic year 2023-2024
Date:

Place: Atpadi

Prof. Landage P.S. Prof. Belasare A.T. Prof. Kulkarni O.G.

(Guide) (HOD) (Principal)

External Examiner Sign


Acknowledgments
I would like to express my sincere gratitude to my Guide & HOD
(COMPUTER) Prof. Belasare A.T. For the continuous support of my project for
his patience, motivation, enthusiasm, and immense knowledge. His guidance helped
me in all the time of project and writing of this project report. I could not have
imagned having a better adviser and mentor for my project.

I am equally indebted to guide Prof. Belasare A.T. for extending necessary


help, providing facilities and time to time valuable guidance. I also take this
opportunity to convey my sincere thanks to all my teachers and faculties of
mechanical department. I would like to thanks our respected principal Prof.
Kulkarni O.G. For his kind blessings, inspiration and the necessary support
whenever needed.

Last but not the least; I would like thank my family for supporting me spiritually
through out my life.

ENROLLMENT EXAM SEAT


NAME OF STUDENT SIGNATURE
NO. NO.

23212660129 MR. SURAJ.M.SHENDE

2212090017 MR.SANDIP.T.BABAR 248453

2212090020 MR.AYUSH.V.MORE

3
INDEX

SR.NO TITLE

1. Introduction

2. Explanation

3. Source Code

4. Output

5. Conclusion

6. Reference

4
ATM SIMULATION SYSTEM
INTRODUCTION:
Thanks for visiting the ATM Stimulation System! This Command-Line User Interface (CLI)-
based ATM Stimulation System offers a clear and easy way to execute withdrawals, deposits,
and check balances. Java is the programming language used to create it. The system includes a
simple command line interface with a switch case for executing deposits, withdrawals, and
balance checks. It also updates the current balance after each operation. Anyone who needs to
quickly calculate deposits and withdrawals should use this system. So, sit back, make a cup of
coffee, and start calculating the amount in the ATM Stimulation System.

EXPLANATION:
This Command-Line User Interface (CLI)-based ATM Stimulation System offers a clear and
easy way to execute withdrawals, deposits, and check balances. The system includes a simple
command line interface with a switch case for executing deposits, withdrawals, and balance
checks. It also updates the current balance after each operation.

5
SOURCE CODE:

import java.util.Scanner;public class ATM {


public static void main(String args[]) {
// declare and initialize balance, withdraw, and deposit
int balance = 5000, withdraw, deposit;
// create scanner class object to get choice of user
Scanner sc = new Scanner(System.in);
while (true) {
System.out.println("**Automated Teller Machine**");
System.out.println("1. Withdraw");
System.out.println("2. Deposit");
System.out.println("3. Check Balance");
System.out.println("4. EXIT");
System.out.print("Choose the operation you want to perform:");

// get choice from user


int choice = sc.nextInt();
switch (choice) {
case 1:
System.out.print("Enter money to be withdrawn:");

// get the withdrawl money from user


withdraw = sc.nextInt();

// check whether the balance is greater than or equal to the withdrawal amount
if (balance >= withdraw) {
// remove the withdrawl amount from the total balance
balance = balance - withdraw;
System.out.println("Please collect your money");
} else {
// show custom error message
System.out.println("Insufficient Balance");
}
System.out.println("");
6
break;

case 2:

System.out.print("Enter money to be deposited:");

// get deposite amount from te user


deposit = sc.nextInt();

// add the deposit amount to the total balanace


balance = balance + deposit;
System.out.println("Your Money has been successfully depsited");
System.out.println("");
break;

case 3:
// displaying the total balance of the user
System.out.println("Balance : " + balance);
System.out.println("");
break;

case 4:
// exit from the menu
System.exit(0);
default:
//default statement
System.out.println("Invalid Choice");
}
}
}
}

7
OUTPUT:

8
CONCLUSION

An automated teller machine (ATM) is an electronic telecommunications system that allows


customers of banking firms to conduct financial transections

We can create an ATM program in Java to display ATM transactions, and the user can withdraw
money, deposit money, check the balance, and exit from the ATM.

9
REFERENCE

1. https://codewithcurious.com/projects/atm-simulation-system-using-java/
2. https://www.javatpoint.com/atm-program-java

3. https://www.youtube.com/watch?v=pMR_48AF-A0

4. https://github.com/sparsh-99/Java-Swing-ATM-Simulator

10

You might also like