<?php
$vklad = 10000;
$procent = 0.1;
for ($year = 1; $year == 1000000; $year * 0.1){
$dohod = $vklad * $procent + $vklad;
echo "$dohod";
}
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7CgokdmtsYWQgPSAxMDAwMDsKJHByb2NlbnQgPSAwLjE7Cgpmb3IgKCR5ZWFyID0gMTsgJHllYXIgPT0gMTAwMDAwMDsgJHllYXIgKiAwLjEpewoJJGRvaG9kID0gJHZrbGFkICogJHByb2NlbnQgKyAkdmtsYWQ7CmVjaG8gIiRkb2hvZCI7Cn0=