fork download
  1. <?php
  2. $myAmount = 10000;
  3. $wantedAmount = 1000000;
  4. $myAge=16;
  5.  
  6. for ($myAge=16;$myAmount==$wantedAmount;$myAge++){
  7. $myAmount = 1.1*$myAmount;
  8. $amountDif = $wantedAmount - $myAmount;
  9. echo "На данный момент у тебя $myAmount, тебе осталось: $amountDif , тебе $myAge";
  10. }
  11.  
  12. ?>
  13.  
Success #stdin #stdout 0.01s 82880KB
stdin
Standard input is empty
stdout