Page 3 of 3

Posted: Fri Feb 25, 2011 3:25 pm
by ffaadd
hi,

think i got everything right expect the answer ;-)
can someone who solved this please send me a pm so we can check the values my program produces, because i don't want to post them here?

thanks,

ffaadd

Posted: Mon Jun 06, 2016 5:23 pm
by pedroysb
I was doing everything correct but always getting wrong answer. The problem was because I was truncating instead of rounding. For those who are getting wrong answer, remember to round! Preferable use a round function.