Question: Help to code below task in language in C#, Thanks. BANK APPLICATION INTRODUCTION The project task must result in an executable application of the type

Help to code below task in language in C#, Thanks.

BANK APPLICATION INTRODUCTION The project task must result in an executable application of the type Console or UWP , Universal Windows application, see section "Assessment and feedback". The task can be delivered as version 1 or it can also be extended to version 2 (see Project description below). The project rating depends on the type of delivered application (Console or UWP) and the selected version (1 or 2), see the section "Assessment and feedback". PROJECT DESCRIPTION The project task is to develop a simple system for a fictitious bank. The application will thus be used by the banking staff. The bank has a number of customers and each customer can have one or more different bank accounts. The application can be developed in version 1, or version 2. Alternatively, you can start with version 1 and expand the latter to version 2, where the first version (version 1) can be seen as a basic version that can possibly be upgraded to version 2. Below are requirements and specifications for Version 1 and 2. Requirements and specifications for version 1 The bank currently only offers accounts of the savings account type with an interest rate of 1%. In version 1, you should start by creating a class that defines a savings account (SavingsAccount), a class that defines a customer (Customer) and a class (BankLogic) that contains a list of customers. In the bank you should be able to: add a new customer with a unique social security number delete an existing customer, any existing accounts will be closed create savings accounts for an existing customer, a unique account number is generated (first account gets number 1001, next 1002, etc.) accounts must also be able to be closed, balance + interest is printed and the account is deleted For a specific customer, it should be possible to perform the following: Page 1 of 7 Course project: Bank application Course name: Basic programming in C # Semester: Spring 2021 Course coordinator: Nazila Hasanzade see information about selected customer including all accounts (account number, balance, account type, interest rate) deposit money into an account withdraw money from the account (but only if the balance covers the withdrawal amount) Class design Note that this is a design suggestion. It is therefore not a requirement to have exactly the same methods, method signatures and names as it says here. However, it is important to have the same classes. SavingsAccount Start by implementing the SavingsAccount class, which will handle the following information: balance interest rate account type (Savings account) account number (there can be no multiple accounts with the same account number). You must be able to perform transactions (deposit / withdrawal), retrieve account number, calculate interest (balance * interest rate / 100) and present the account (account number, balance, account type, interest rate). Implement methods that ensure the above requirements in the BankLogic class below (BankLogic includes proposed methods. Complete these with more methods if necessary). Customer The Customer class should handle the following information: customer's name social security number a list of all the customer's accounts. If you feel that you want to add the list of accounts in BankLogic instead, it is admittedly okay, but you should be aware that it will be a slightly more complicated solution. For example, you must be able to change the customer's name and retrieve information about the customer (social security number, first and last name and retrieve information about the customer's accounts (account number, balance, account type, interest rate)). In addition, you must be able to manage the customer's accounts. Implement methods that ensure the above requirements in the BankLogic class below (BankLogic includes proposed methods. Complete these with more methods if necessary). BankLogic The BankLogic class must contain a list of all registered customers. The class must include a number of public methods that manage customers and their accounts (see above). You will probably create a number of help methods, private methods, but suggestions on those Page 2 of 7

the public methods that should be in BankLogic are the following (you can therefore change method signatures if you want): public List GetCustomers () Returns a List that contains a presentation of all the bank's customers (social security number and name) public boolean AddCustomer (string name, long pNr) Creates a new customer with the name name and social security number pNr, the customer is only created if there is no customer with social security number pNr. Returns true if customer was created otherwise false is returned. public List GetCustomer (long pNr) Returns a List that contains the information about the customer including his accounts. The first place in the list is suggested for the customer's name and social security number, then follows the information about the customer's accounts. public List RemoveCustomer (long pNr) Deletes customer with social security number pNr from the bank, all customer's possible accounts are also deleted and the result is returned. The list that is returned must contain information about all accounts that were deleted, the balance that the customer receives back and what the interest rate was. public int AddSavingsAccount (long pNr) Creates an account for a customer with social security number pNr, returns the account number that the created account received alternatively returned -1 if no account was created. public string GetAccount (long pNr, int accountId) Returns a String that contains the presentation of the account with account number accountId that belongs to the customer pNr (account number, balance, account type, interest rate). public boolean Deposit (long pNr, int accountId, decimal amount) Make a deposit to account with account number accountId belonging to the customer pNr, returns true if it went well otherwise false. public boolean Withdraw (long pNr, int accountId, decimal amount) Make a withdrawal on account with account number accountId which belongs to the customer pNr, returns true if it went well otherwise false. public string CloseAccount (long pNr, int accountId) Closes an account with account number accountId that belongs to the customer pNr, presentation of the account balance and interest on the money must be generated. Check again that all requirements are handled in BankLogic before proceeding.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!