Task 1 — Object-Oriented Programming (Marks: 100)Learning Units: LU1 – 2Assessment:Assessment/Deliverable Marks Weight DurationTask 1 100 25% 15hrsUsing C# and Visual Studio, design and implement a standalone command line application thatfulfils the following requirements:1. The user shall be able to enter the following values:a. Gross monthly income (before deductions).b. Estimated monthly tax deducted.c. Estimated monthly expenditures in each of the following categories:i. Groceriesii. Water and lightsiii. Travel costs (including petrol)iv. Cell phone and telephone19; 20; 21 2021© The Independent Institute of Education (Pty) Ltd 2021Page 5 of 18v. Other expenses2. The user shall be able to choose between renting accommodation or buying a property.3. If the user selects to rent, the user shall be able to enter the monthly rental amount.4. If the user selects to buy a property, the user shall be required to enter the followingvalues for a home loan:a. Purchase price of propertyb. Total depositc. Interest rate (percentage)d. Number of months to repay (between 240 and 360)5. The software shall calculate the monthly home loan repayment for buying a propertybased on the values that the user entered. (Seehttps://www.siyavula.com/read/maths/grade-10/finance-and-growth/09-finance-andgrowth-03 for more information on how to calculate this).6. If the monthly home loan repayment is more than a third of the user’s gross monthlyincome, the software shall alert the user that approval of the home loan is unlikely.7. The software shall calculate the available monthly money after all the specified deductionshave been made.8. The software shall not persist the user data between runs. The data shall only be stored inmemory while the software is running.Non-functional requirements:1. You are required to use internationally acceptable coding standards. Includecomprehensive comments explaining variable names, methods, and the logic ofprogramming code.2. You are required to use classes and inheritance. Create an abstract class Expense, fromwhich HomeLoan, etc., can be derived.3. Store the expenses in an array.Submit the following items for this task:1. Source code.2. A readme file with instructions for how to compile and run the software.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here