Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I have the following assignment to do and do not know where to start. Could anyone give me a structure and some hints so I can get started.
A large multi-national bank has commissioned you to design and develop a worldwide Internet banking account. The solution should offer the following levels of service:
A standard Current deposit account.
A high-interest Platinum savings account.
An interest-free Student account.
All three accounts can be opened with or without an opening deposit, each account being identified by an account name and account number. In addition, account holders may deposit or withdraw funds and/or request balance details at any time.
For the Platinum and Student accounts, interest will be charged or earned depending upon the balance and any agreed overdraft limit (overdrafts are normally set at 2.5 times the initial deposit).
1. Create a class for each type of account.
2. Create constructors for each class, using inheritance, where possible.
3. Create methods for depositing and withdrawing funds as well as methods for displaying the current balance.
4. For those account types that have an overdraft, create additional methods to check the account balance against the agreed overdraft limit. If the overdraft limit is exceeded a suitable message should be displayed by the application.
0 · ·