You are on page 1of 17

Kendriya vidyalaya mankhurd

ACADEMIC YEAR : 2020-21

PROJECT REPORT ON

ATM Management System

ROLL NO. : 12108

NAME : Shraddha Kedar

CLASS : XII ‘A’

SUBJECT : Computer Science

TEAM MEMBERS : 1. C Sanajana

2. Samruddhi Chavan

3. Snehal Wagdarkar

PROJECT GUIDE : Mrs. Roshni

PGT (CS)

1
CERTIFICATE

This is to certify that C. Sanjana, student of class XII-A, Kendriya


Vidyalaya Mankhurd, has completed the project during the academic
year 2020-2021 towards partial fulfilment of credit for computer science
practical evaluation of CBSE 2021, and submitted satisfactory report, as
compiled in the following pages, under my supervision.

Guide’s signature Principal’s signature


(Mrs. Roshni ma’am)

Examiner’s signature

2
TABLE OF CONTENTS

Sr.
Description Page No.
No.

01 Acknowledgement 04

02 Synopsis 05

03 Hardware and Software requirements 06

04 Source code 07

05 Output 13

06 Bibliography 17

3
ACKNOWLEDGEMENT

Apart from the efforts of me, the success of any project depends largely on
the encouragement and guidelines of many others. I take this opportunity to express
my gratitude to the people who have been instrumental in the successful completion
of this project.

I express my heartfelt gratitude to my parents for constant encouragement


while carrying out this project.

I express my deep sense of gratitude to the luminary The Principal, Kendriya


Vidyalaya Mankhurd, who has been continuously motivating and extending their
helping hand to us.

My sincere thanks to Mrs. Roshni, A guide, Mentor all the above a friend, who
critically reviewed my project and helped in solving each and every problem,
occurred during implementation of the project

The guidance and support received from all the members who contributed
and who are contributing to this project, was vital for the success of the project. I am
grateful for their constant support and help.

4
Synopsis

"ATM MANAGEMENT SYSTEM" project is useful for the customers to keep a

track of their account details. The emerging of digital system made information

available on finger tips. By automating the transactions one can view the details as

and when required in no time.

The features of my project are: Cash deposit, cash withdrawal, balance

enquiry, funds transfer, cheque book request, view customer details and to close the

account.

We have developed this software using Python and Mysql. Hence, it provides

complete solution for current management system.

5
Hardware and Software requirements

I.OPERATING SYSTEM : WINDOWS 7 AND ABOVE

II. PROCESSOR : PENTIUM(ANY) OR AMD

ATHALON (3800+- 4200+ DUALCORE)

III. MOTHERBOARD : 1.845 OR 915,995 FOR PENTIUM 0R MSI

K9MM-V VIAK8M800+8237R PLUS

CHIPSET FOR AMD ATHALON

IV. RAM : 512MB+

V. Hard disk : SATA 40 GB OR ABOVE

VI. CD/DVD r/w multi drive combo: (If back up required)

VII. FLOPPY DRIVE 1.44 MB : (If Backup required)

VIII. MONITOR 14.1 or 15 -17 inch

IX. Key board and mouse

X. Printer : (if print is required – [Hard copy])

I. Windows OS
II. Python
III. MySql

6
Source code

import mysql.connector as a
con=a.connect(host="localhost",user="root",passwd="mysql",database="
bank")
txt="Welcome to 4Us ATM"
x=txt.center(100)
print(x)
print("We provide complete basic transactions without the aid of a
branch representative. Enjoy banking!")

Functions
def depoAmo():
am=int(input("Enter Amount: Rs."))
ac=input("Enter Account number: ")
a="select balance from amount1 where Account_number=%s"
data=(ac,)
c=con.cursor()
c.execute(a,data)
myresult=c.fetchone()
tam=myresult[0]+am
sql="update amount1 set Balance=%s where Account_number=%s"
d=(tam,ac)
c.execute(sql,d)
con.commit()
print("Rs.",am,"deposited")
main()

7
def witham():
am=int(input("Enter Amount: Rs."))
ac=input("Enter Account number: ")
a="select balance from amount1 where Account_number=%s"
data=(ac,)
c=con.cursor()
c.execute(a,data)
myresult=c.fetchone()
tam=myresult[0]-am
sql="update amount1 set balance=%s where account_number=%s"
d=(tam,ac)
c.execute(sql,d)
con.commit()
print("Amount withdrawn")
main()

def balance():
ac=input("Enter Account number: ")
a="select balance from amount1 where Account_number=%s"
data=(ac,)
c=con.cursor()
c.execute(a,data)
myresult=c.fetchone()
print("Balance in Account:",ac,"is",myresult[0])
main()

def dispacc():
ac=input("Enter Account number: ")
a="select * from account1 where Account_number=%s"

8
data=(ac,)
c=con.cursor()
c.execute(a,data)
myresult=c.fetchone()
print("Name",myresult[0],"Account
number",myresult[1],"DOB",myresult[2],"Address",myresult[3],"Phone
number",myresult[4],"Opening balance",myresult[5])
main()

def closeac():
ac=input("Enter Account number: ")
sql1="delete from account1 where Account_number=%s"
sql2="delete from amount1 where Account_number=%s"
data=(ac,)
c=con.cursor()
c.execute(sql1,data)
c.execute(sql2,data)
con.commit()
print("Account",ac,"closed")
main()

def fund():
ac=input("Enter Account number: ")
am=input("Enter amount to be transferred: Rs.")
ac1=input("Enter Account number to which funds should be
transferred: ")
sql1="update amount1 set balance=balance-%s where
account_number=%s"%(am,ac)

9
sql2="update amount1 set balance=balance+%s where
account_number=%s"%(am,ac1)
c=con.cursor()
c.execute(sql1)
c.execute(sql2)
con.commit()
print("Amount Rs.",am,"is transferred from account",ac,"to",ac1)
main()

def checkbk():
ac=input("Enter Account number: ")
num=int(input("No. of leaves? "))
print("Your checkbook request is accepted")

Main Program
def main():
log=input("Enter your Account number: ")
sql="select Account_number from account1"
c=con.cursor()
c.execute(sql)
n=c.fetchall()
for i in n:
if i[0]==log:
print("Successfully logged in")
print("""
1. Deposit
2. Withdrawal
3. Balance Enquiry
4. Funds transfer

10
5. Cheque book request
6. Customer details
7. Close Account
8. Exit
""")
ch=int(input("Enter your choice: "))
if ch==1:
depoAmo()
elif ch==2:
witham()
elif ch==3:
balance()
elif ch==4:
fund()
elif ch==5:
checkbk()
elif ch==6:
dispacc()
elif ch==7:
closeac()
elif ch==8:
print("Thank you! Visit again")
else:
print("Wrong Choice")
main()
else:
print("Invalid Account number, Try again")

main()

11
MySql Tables

Account table

OUTPUT

Amount table

Output

12
Output

MAIN PAGE

MENU

1. Cash Deposit

13
Before execution:

After execution:

2. Withdrawal

Before execution:

After execution:

14
3. Balance Enquiry

4. Funds transfer

Before execution:

After execution:

5. Check book request

15
6. Customer details

7. Close the account

Before execution:

Exit

After execution:

8. Exit

16
BIBLIOGRAPHY

1. Computer science With Python - Class XI By : SumitaArora


2. Website: https://www.w3resource.com
3. https://en.wikipedia.org/wiki/E_(mathematical_constant)

***

17

You might also like