You are on page 1of 7

CS Project

Lakshya Bisht
11-A
Project name-
Mia International
bank
Submit to –Priyanka
Ma’am
Topic-Bank
Management

Date of
submission-

Acknowledgement

I am glad to present my computer project. This project


was given by our respected computer teacher _______
___________ (Name of the Teacher). I am really
thankful to him /her for giving us such a wonderful and
interesting topic for our project.

I would also like to thank my other teachers from my


heart. Without their suggestions and feedback, the
project would not have achieved such a good outcome.

I hope everyone will like my project and appreciate my


hard work.
would like to take this opportunity to thank my family
 I
members & supporters, without them it could not have
been done effectively in such a short period of time. I
cannot forget their love & support.

PROJECT
class bank_account():
def __init__(self):
self.amount=0
def deposit (self, Amount):
self.amount+=Amount
print("Amount Successfully Deposited")
def withdraw(self, Amount):
if(self.amount-Amount>=500):
self.amount-=Amount
print("AmountSuccessfullyWithdrawn")
else:
print("Insufficient Balance.\nYou have to keep atleast
Rs.500 in your Account")
def display (self):
print("Your Bank Balance is:", self.amount)

a=bank_account()
for i in range (0,50):
print("|Welcome to Bank| \n 1.Name\n 2.mobile number\n 3.age\n
4. Deposit \n 5.Withdraw \n 6.Display\n 7.Exit")
p=int(input("Enter Your Choice"))
if(p==1):
Name=input("enter your name :")
elif(p==2):
MobileNo=int(input("enter your mobile number:"))
elif(p==3):
Age=int(input("enter you age :"))
elif(p==4):
Amount=float(input("Enter Amount to be Deposit:"))
a.deposit (Amount)
elif(p==5):
Amount=float(input("Enter Amount to be Withdrawn:"))
a.withdraw (Amount)
elif(p==6):
a.display()
elif(p==7):
exit()
else:
print("You have Entered a Wrong Value")
print("Thank you visit again")

Output
|Welcome to Bank|
1.Name
2. Mobile number
3. Age
4. Deposit
5. Withdraw
6. Display
7. Exit
Enter Your Choice4
Enter Amount to be Deposit: 5000
Amount Successfully Deposited
|Welcome to Bank|
1. Name
2. Mobile number
3. Age
4. Deposit
5. Withdraw
6. Display
7. Exit
Enter Your Choice5
Enter Amount to be withdrawn: 400
Amount Successfully Withdrawn
|Welcome to Bank|
1. Name
2. Mobile number
3. Age
4. Deposit
5 .Withdraw
6. Display
7. Exit
Enter Your Choice6
Your Bank Balance is: 4600.0
|Welcome to Bank|
1. Name
2. Mobile number
3. Age
4. Deposit
5. Withdraw
6. Display
7. Exit

Thank
you

You might also like