![]() |
|
#1
|
|||
|
|||
Incorrect answed on code mortgageHello,
I think that I have done my code correctly but I'm having problem when I run the code the answerd is suppost to be $1167.15 and I'm getting $11500 I'm thinking that the problem is with the formula but I don't know where. Here is my code CPP / C++ / C Code:
|
|
#2
|
|||
|
|||
Re: Incorrect answed on code mortgageQuote:
CPP / C++ / C Code:
I'm thinking that the interest rate is quoted as 5.75% per year. The formula applies that amount of interest each month for 360 months. Use the monthly interest rate. In simplified form, they usually assume that the monthly interest rate is equal to the yearly interest rate divided by 12. Try i = 0.0575/12.0; Regards, Dave |
|
#3
|
|||
|
|||
Re: Incorrect answed on code mortgageThks Dave,
That was my error I was thinking just in one time insted of the 12 months |
Recent GIDBlog
NARMY by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to sort random access file? | wmmccoy0910 | C Programming Language | 12 | 04-Sep-2006 03:40 |
| Java GUI Mortgage Program | Harryt123 | Java Forum | 0 | 21-Jul-2006 16:57 |
| Here it is again! 35% - 40% off For Life! | my-e-space | Web Hosting Advertisements & Offers | 0 | 20-Apr-2006 14:48 |
| User defined headers | davis | Miscellaneous Programming Forum | 6 | 16-Feb-2006 18:40 |
| Problem with int mixed with char,... | leitz | CPP / C++ Forum | 17 | 07-Dec-2004 20:56 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The