fork download
  1. <?php
  2.  
  3.  
  4. function creditAmmount($dolg, $percent, $commision, $month) {
  5. for ($i = 0; $i < $month; $i++) {
  6. $dolg = (($dolg * $percent) + $commision);
  7. }
  8.  
  9. return $dolg;
  10. }
  11. $balanse = creditAmmount(40000, 1.04, 500, 10);
  12. echo ($balanse);
  13.  
  14. $payment = 5000;
  15.  
  16. for ($s=0; $s)
  17.  
Runtime error #stdin #stdout #stderr 0.02s 24400KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Parse error:  syntax error, unexpected ')', expecting ';' in /home/gDMhiR/prog.php on line 17