Search results

  1. J

    Calculating compound interest

    The compound interest formula is A = P(1 + (r/n))^(nt).I have written a code in php and the output is 788.55 whereas my output in my Java program is 557.65. I am not sure why the values are different. Here is my java and my php code: /* * Click...