Oct 21, 2005 12:15
I'm making a C++ program that calculates how much money you have in your account after x amount of years with x amount interest. First it didn't work *is shocked*
I debugged it. And again. And again. Finally got the months to come in the right order and with the right number. And I tried with 10%, 5yrs and 2000kr and I got the right answers. Then I took 15%, 8yrs and 4000kr. And now it subtracts the interest. So I have 3200 after 8 yrs!
*kicks stupid program*
I don't even care anymore, I'm just gonna hope that the teacher's using small numbers.......
school,
c++