Software Requirements: To perform the steps in this project, you need to install Python in your local system first. You can refer to Programming Basics - Demo Install Python in the course for more information on installation.
Problem Statement: (Use parameterized constructors in all classes to initialize default values)
Create a bank class with the following attributes:
- IFSC Code
- Bank name
- Branch name
- Location
Create a customer class with the following attributes:
- CustomerID
- Customer name
- Address
- Contact details
Create an account class that inherits from the bank class with the following attributes (Use Super () to pass values to the base class):
- Account ID
- Customer object of Customer
- Balance
Add the following methods to get account information, withdraw, and deposit:
- getAccountInfo()
- deposit(2000, 'true')
- withdraw(500)
- getBalance()
Create a SavingsAccount class that inherits from the account with the following attributes (Use Super () to pass values to the base class):
- MinBalance