| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
C++ assignment, please help me someone
!
, I received an assignment from the teacher, And have to complete them withing 4 weeks time. I tried my best to figure out but it is too hard, below is the assigment: JUSTIN Case is a bit of a petrol head and dreams of a new car to impress his friends and go for long drives in the country. However, he knows he is a long way from paying cash for this car and will need to rely on the finance offered by the car dealer. the rules for this finance are below but Justin needs a calculator that helps him decide. 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.<B> __________________________________________________ ____ ===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</B> the value in the [ ] is for user to enter information. MY task is to design a solution to the problem, implement the design in both C++ and Visual basic I hope that some one smart about mathematic and programming would help me through this. it is 40% of the score. May every to be able to help. if yyou can please send the code to URL 'Don ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > C++ assignment, please help me someone |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|