Using C# and Visual Studio, design and implement a s fulls the following requirements. The user shall be able to enter the following values: Gross monthlv income (before deductions). Estimated month tax deducted. Estimated monthly expenditures in each or the following categories: groceries Water and lights line applica Travel costs including petrol Cel phon and tppphone Other expenses The user shall be able to choose between renting accommodation or buying a property. If the user selects to rent. the user shall be able to enter the monthlv rentalamount If the user selects to buv a propertv, the user shall be required to enter the following values for a home loan: Purchase price or the property Total denosit Interest rate (percentage) Number of months to repay (between 240 and 360) The software shall calculate the monthly home loan repayment for buying a property based on the values
Addition of Two Numbers
Adding two numbers in programming is essentially the same as adding two numbers in general arithmetic. A significant difference is that in programming, you need to pay attention to the data type of the variable that will hold the sum of two numbers.
C++
C++ is a general-purpose hybrid language, which supports both OOPs and procedural language designed and developed by Bjarne Stroustrup. It began in 1979 as “C with Classes” at Bell Labs and first appeared in the year 1985 as C++. It is the superset of C programming language, because it uses most of the C code syntax. Due to its hybrid functionality, it used to develop embedded systems, operating systems, web browser, GUI and video games.
Using C# and Visual Studio, design and implement a s
fulls the following requirements.
The user shall be able to enter the following values:
Gross monthlv income (before deductions).
Estimated month tax deducted.
Estimated monthly expenditures in each or the following categories:
groceries
Water and lights
line applica
Travel costs including petrol
Cel phon and tppphone
Other expenses
The user shall be able to choose between renting accommodation or buying a property.
If the user selects to rent. the user shall be able to enter the monthlv rentalamount
If the user selects to buv a propertv, the user shall be required to enter the following
values for a home loan:
Purchase price or the property
Total denosit
Interest rate (percentage)
Number of months to repay (between 240 and 360)
The software shall calculate the monthly home loan repayment for buying a property
based on the values that the user entered, Sef
https://www.siyavula.com/read/maths/grade-10/finance-and-growth/09-finance-and-
growth-02 for more information on how to calculate this
If the monthly home loan repavment 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 unlikelv.
The software shall calculate the available monthly monev after all the specified deductions
have been made
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.
You are required to use internationally acceptable coding standards. Include
comprehensive comments explaining variable names, methods, and the logic of
pregramming code
You are required to use classes and inheritance. Create an abstract class Expense, from
which Homeloan, etc., can be derivec
Store the exnenses in array
Trending now
This is a popular solution!
Step by step
Solved in 4 steps