Professional Documents
Culture Documents
CS ATM MANAGEMENT Synopsis
CS ATM MANAGEMENT Synopsis
1. INTRODUCTION OF PROJECT
4. INPUT/OUTPUT REQUIREMENT
6. DATABASE USED
7. CODING
8. OUTPUT
\
2.OBJECTIVES OF THE PROJECT
This project has a large scope as it has the following features which help in
making it easy to use, understand and modify it:
Input requirements
Output requirements
• Balance Of User
• Balance of user after transaction
5.HARDWARE AND SOFTWARE
REQUIREMENTS
HARDWARE REQUIREMENTS:
I.OPERATING SYSTEM: WINDOWS 8 AND ABOVE
II. PROCESSOR: PENTIUM(ANY) OR AMD
ATHALON (3800+-4200+ DUAL CORE)
III. MOTHERBOARD: 1.845 OR 915,995 FOR PENTIUM 0R MSI
K9MM-V VIA K8M800+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 Backup required)
VII. PEN DRIVE 32 GB: (If Backup required)
VIII. MONITOR 14.1 or 15 -17 inch
IX. Key board and mouse
SOFTWARE REQUIREMENTS:
• Windows OS
• Python 3.7. x
•
6.DATABASE USED
The data in the project is stored in the CSV type file. It stores tabular data (data
stored in rows and columns as we see in spreadsheets or database) where
comma delimits the value. Typically, the default delimiter is comma (,) but
modern implementations of CSV files allow you to choose a different delimiter
character.
Each line in a CSV file is a data record. Each record consists of one or more
fields, separated by chosen delimiter.
7.CODING
import csv
with open('Atm.csv',mode='a') as csvfile:
mywriter = csv.writer(csvfile,delimiter=',')
print("Welcome to the ATM.")
print("What do you want?")
choice=int(input("1 for account creation ,2 for Cash Withdrawal ,3 for Cash
Deposit ,4 for exit: "))
if choice==1:
username=input("Enter the Username: ")
pin=input("Create your PIN: ")
Account_no =int(input("Enter your 4 digit account no."))
Balance =int(input("Enter the amount to be deposited: "))
mywriter.writerow([username,Account_no,pin,Balance])
print("Account created successflly")
print("Please Visit Again")
elif choice==2:
with open('Atm.csv',mode='r')as csvfile:
myreader=csv.reader(csvfile,delimiter=',')
u=input("Enter Account no. ")
for row in myreader:
if len(row)!=0:
if(row[1])==u:
pn=input("Enter your pin: ")
if pn==row[2]:
cash=int(input("Enter the amount to withdraw"))
row[3]=int(row[3])-cash
print("Please collect your cash: "+str(cash))
ch=input("Do you want to display the account balance on screen?
y/n)")
if ch=='y':
print(row[3])
print("Thankyou for visiting")
else:
print("Thank your for visiting")
else:
print("Wrong Pin")
elif choice==3:
with open('Atm.csv',mode='r')as csvfile:
myreader=csv.reader(csvfile,delimiter=',')
u=input("Enter Account no. ")
for row in myreader:
if len(row)!=0:
if(row[1])==u:
pn=input("Enter your pin: ")
if pn==row[2]:
cash2=int(input("Enter the amount to Deposit: "))
row[3]=int(row[3])+cash2
ch2=input("Do you want to display the account balance on screen?
y/n): ")
if ch2=='y':
print(row[3])
print("Thankyou for visiting")
else:
print("Thank your for visiting")
else:
print("Wrong Pin")
elif choice==4:
print("ThankYou For visiting")
print("Please come again")
8.OUTPUT
\
2. For Money Withdrawal
3.For money deposit
3.For No choice
9.REFERENCES AND BIBLIOGRAPHY
REFRENCE LINKS
• https://en.wikipedia.org/wiki/Real_estate
• https://www.geeksforgeeks.org
BIBLIOGRAPHY