Project 2
*******Welcome to Banking Management System
Do you want to open an account:1. Yes 2. No
Yes
In which bank you want to open it: 1.SBI 2.PNB 3.ICICI
1
Please enter your name:
Aniket
Please enter your date of birth:
19/11/1997
What type of account do you want to open: 1. Saving 2. Current
1
Your account has been opened with following details
Bank: SBI
Name: Aniket
DOB: 19/11/1997
Account Type: Saving
Account Number: 0.5535068417789463
Welcome to the menu
A. Check Balance
B. Deposit Amount
C. Withdraw Amount
D. See Previous Transaction
E. Calculate Interest
F. Exit
****************************************
Enter an option
****************************************
A
--------------------------
Balance = 0
****************************************
Enter an option
****************************************
B
--------------------------
Enter an amount to deposit:
100000
Balance after deposit: 100000
****************************************
Enter an option
****************************************
C
--------------------------
Enter an amount to withdraw:
1000
Balance after withdraw:99000
****************************************
Enter an option
****************************************
D
--------------------------
Withdrawn: 1000
****************************************
Enter an option
****************************************
E
--------------------------
What type of account do you have: 1. Saving 2. Current
1
Enter year to calculate interest
2
Total interest earned is: 2376000.0
****************************************
Enter an option
****************************************
F
--------------------------
Thank you for using our services