Challenge

Project 2

Example output:

*************Welcome to Banking Application*************

How many number of customers do you want to input? 2

Enter Account No: 11112

Enter Account type: Savings

Enter Name: Murali

Enter Balance: 5000

Enter Account No: 11113

Enter Account type: Current

Enter Name: Murali

Enter Balance: 10000

Do you want to?

1. Display all account details

2. Search by Account number

3. Deposit amount

4. Withdraw amount

5. Previous Transaction

6. Print Mini Statement

7. Calculate interest

8. Exit

Enter your choice:

1

-------------------------------------------------------

Name of account holder: Murali

Account no.: 11112

Account type: Savings

Balance: 5000

Name of account holder: Murali

Account no.: 11113

Account type: Current

Balance: 10000

-------------------------------------------------------

Do you want to?

1. Display all account details

2. Search by Account number

3. Deposit amount

4. Withdraw amount

5. Previous Transaction

6. Print Mini Statement

7. Calculate interest

8. Exit

Enter your choice:

2

-------------------------------------------------------

Enter account number you want to search: 11112

Name of account holder: Murali

Account no.: 11112

Account type: Savings

Balance: 5000

-------------------------------------------------------

Do you want to?

1. Display all account details

2. Search by Account number

3. Deposit amount

4. Withdraw amount

5. Previous Transaction

6. Print Mini Statement

7. Calculate interest

8. Exit

Enter your choice:

3

-------------------------------------------------------

Enter Account no. : 11112

Name of account holder: Murali

Account no.: 11112

Account type: Savings

Balance: 5000

Enter the amount you want to deposit:

3000

Balance after deposit: 8000

-------------------------------------------------------

Do you want to?

1. Display all account details

2. Search by Account number

3. Deposit amount

4. Withdraw amount

5. Previous Transaction

6. Print Mini Statement

7. Calculate interest

8. Exit

Enter your choice:

4

-------------------------------------------------------

Enter Account No : 11112

Name of account holder: Murali

Account no.: 11112

Account type: Savings

Balance: 8000

_____________________________________________________________________________

Note:

Maximum withdrawl limit is 25000 per day.

_____________________________________________________________________________

Enter the amount you want to withdraw:

1000

Balance after withdrawal: 7000

-------------------------------------------------------

Do you want to?

1. Display all account details

2. Search by Account number

3. Deposit amount

4. Withdraw amount

5. Previous Transaction

6. Print Mini Statement

7. Calculate interest

8. Exit

Enter your choice:

5

-------------------------------------------------------

Enter Account No : 11112

Name of account holder: Murali

Account no.: 11112

Account type: Savings

Balance: 7000

Withdrawn: 1000

-------------------------------------------------------

Do you want to?

1. Display all account details

2. Search by Account number

3. Deposit amount

4. Withdraw amount

5. Previous Transaction

6. Print Mini Statement

7. Calculate interest

8. Exit

Enter your choice:

4

-------------------------------------------------------

Enter Account No : 11113

Name of account holder: Murali

Account no.: 11113

Account type: Current

Balance: 10000

_____________________________________________________________________________

Note:

Maximum withdrawl limit is 25000 per day.

_____________________________________________________________________________

Enter the amount you want to withdraw:

1000

Balance after withdrawal: 9000

-------------------------------------------------------

Do you want to?

1. Display all account details

2. Search by Account number

3. Deposit amount

4. Withdraw amount

5. Previous Transaction

6. Print Mini Statement

7. Calculate interest

8. Exit

Enter your choice:

5

-------------------------------------------------------

Enter Account No : 11113

Name of account holder: Murali

Account no.: 11113

Account type: Current

Balance: 9000

Withdrawn: 1000

-------------------------------------------------------

Do you want to?

1. Display all account details

2. Search by Account number

3. Deposit amount

4. Withdraw amount

5. Previous Transaction

6. Print Mini Statement

7. Calculate interest

8. Exit

Enter your choice:

6

-------------------------------------------------------

Enter Account No : 11112

Name of account holder: Murali

Account no.: 11112

Account type: Savings

Balance: 7000

Withdrawn: 1000

************Mini Statement************

Account number: 11112

Balance: 7000.0

Withdrawn: 1000

PreviousTransaction: -1000

**************************************

-------------------------------------------------------

Do you want to?

1. Display all account details

2. Search by Account number

3. Deposit amount

4. Withdraw amount

5. Previous Transaction

6. Print Mini Statement

7. Calculate interest

8. Exit

Enter your choice:

6

-------------------------------------------------------

Enter Account No : 11113

Name of account holder: Murali

Account no.: 11113

Account type: Current

Balance: 9000

Withdrawn: 1000

************Mini Statement************

Account number: 11113

Balance: 9000.0

Withdrawn: 1000

PreviousTransaction: -1000

**************************************

-------------------------------------------------------

Do you want to?

1. Display all account details

2. Search by Account number

3. Deposit amount

4. Withdraw amount

5. Previous Transaction

6. Print Mini Statement

7. Calculate interest

8. Exit

Enter your choice:

7

-------------------------------------------------------

Enter Account No : 11112

Name of account holder: Murali

Account no.: 11112

Account type: Savings

Balance: 7000

_____________________________________________________________________________

Note:

Minimum amount for saving account is 2000/- and for current account is 5000/-

Interest rates for saving will be 5% annually and for current it will be 8% annually.

_____________________________________________________________________________

Enter the principal amount: 2000

Enter the rate: 5

Enter the time: 9

Simple Interest: 900.0

Compound Interest: 2813.2384673821716

-------------------------------------------------------

Do you want to?

1. Display all account details

2. Search by Account number

3. Deposit amount

4. Withdraw amount

5. Previous Transaction

6. Print Mini Statement

7. Calculate interest

8. Exit

Enter your choice:

7

-------------------------------------------------------

Enter Account No : 11113

Name of account holder: Murali

Account no.: 11113

Account type: Current

Balance: 9000

_____________________________________________________________________________

Note:

Minimum amount for saving account is 2000/- and for current account is 5000/-

Interest rates for saving will be 5% annually and for current it will be 8% annually.

_____________________________________________________________________________

Enter the principal amount: 5000

Enter the rate: 8

Enter the time: 5

Simple Interest: 2000.0

Compound Interest: 5794.6249863639405

-------------------------------------------------------

Do you want to?

1. Display all account details

2. Search by Account number

3. Deposit amount

4. Withdraw amount

5. Previous Transaction

6. Print Mini Statement

7. Calculate interest

8. Exit

Enter your choice:

8

Thank you for banking with us!!

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.