How much do you charge for assignment below?
The car company will charge loan insurance if the person is under 25 years old no matter what the total loan value-your calculator should display a message if this fee applies(a flat amount of $1000). The interest is calculated on the balance outstanding at the beginning of each year and credited to the loan amount to be repaid at this time.
Whilst the repayments are made monthly they will not affect the interest paid in any one year.
Justin does not want to be in debt for more than 10 years and so your calculator will need to either show how many years it will take to repay the loan if it is under 10 years or display a message telling Justin to reconsider as it will take over 10 years to own his dream car.
An example of a possible user interface for a Visual Basic implementation is shown belown.
__________________________________________________ ____
===car price [30000] ==deposit [3000]
===age [21] ==interest [0.09]
===monthly payment[400]
_______CALCULATE Scenario>>(this is button user click to calculate)
Annual Progress:
' year 1 remaining balance $25,720.00
' year 2 remaining balance $25,234.80
' yea---------------------$20,525.90
' year 4------------------$17,573.27
' year 8 remain balance $2,855.08
--- you will pay this off in 9 years
loan insurance of $1000 payable the value in the [ ] is for user to enter information.
Task is to design a solution to the problem, implement the design in both C++ and Visual basic