Object-Oriented Programming Using C# and Visual Studio, design and implement a standalone command-line application that fulfills 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. Groceries ii. Water and lights iii. Travel costs (including petrol) iv. Cell phone and telephone v. Other expenses 2. 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 following values for a home loan: a. Purchase price of property b. Total deposit c. 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 property based on the values that the user entered. (See https://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 monthly income, 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 deductions have been made. 8. You are required to use classes and inheritance. Create an abstract class Expense, from which HomeLoan, etc., can be derived you may use getters and setter methods. 9. Store the expenses in an array. 10.You are required to use internationally acceptable coding standards. Include comprehensive comments explaining variable names, methods, and the logic of programming code.
Object-Oriented
Using C# and Visual Studio, design and implement a standalone command-line application that
fulfills 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. Groceries
ii. Water and lights
iii. Travel costs (including petrol)
iv. Cell phone and telephone
v. Other expenses
2. 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 following
values for a home loan:
a. Purchase price of property
b. Total deposit
c. 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 property
based on the values that the user entered. (See
https://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 monthly
income, 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 deductions
have been made.
8. You are required to use classes and inheritance. Create an abstract class Expense, from which HomeLoan, etc., can be derived you may use getters and setter methods.
9. Store the expenses in an array.
10.You are required to use internationally acceptable coding standards. Include comprehensive comments explaining variable names, methods, and the logic of programming code.
Step by step
Solved in 2 steps with 1 images