Using C# and Visual Studio, design and implement a standalone command line application that fulfils the following requirements: 1. The user shall be able to enter the following values: а. 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 ii. 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: а. Purchase price of property b. Total deposit С. 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-and- growth-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. The software shall not persist the user data between runs. The data shall only be stored in memory while the software is running. Non-functional requirements: 1. You are required to use internationally acceptable coding standards. Include comprehensive comments explaining variable names, methods, and the logic of programming code. 2. You are required to use classes and inheritance. Create an abstract class Expense, from which 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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

The question is in the image attached.

 

Using C# and Visual Studio, design and implement a standalone command line application that
fulfils the following requirements:
1.
The user shall be able to enter the following values:
а.
Gross monthly income (before deductions).
b.
Estimated monthly tax deducted.
С.
Estimated monthly expenditures in each of the following categories:
i.
Groceries
ii.
Water and lights
ii.
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:
а.
Purchase price of property
b.
Total deposit
С.
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-and-
growth-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.
The software shall not persist the user data between runs. The data shall only be stored in
memory while the software is running.
Non-functional requirements:
1.
You are required to use internationally acceptable coding standards. Include
comprehensive comments explaining variable names, methods, and the logic of
programming code.
2.
You are required to use classes and inheritance. Create an abstract class Expense, from
which 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.
Transcribed Image Text:Using C# and Visual Studio, design and implement a standalone command line application that fulfils the following requirements: 1. The user shall be able to enter the following values: а. Gross monthly income (before deductions). b. Estimated monthly tax deducted. С. Estimated monthly expenditures in each of the following categories: i. Groceries ii. Water and lights ii. 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: а. Purchase price of property b. Total deposit С. 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-and- growth-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. The software shall not persist the user data between runs. The data shall only be stored in memory while the software is running. Non-functional requirements: 1. You are required to use internationally acceptable coding standards. Include comprehensive comments explaining variable names, methods, and the logic of programming code. 2. You are required to use classes and inheritance. Create an abstract class Expense, from which 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.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Concept of Light
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education