<?php
$year = 16;
$bank = 10000;
$percent = 1.1;
for ($year=16;$year <100;$year++){
if($bank == $bank * $percent >1000000){
echo "в банке {$bank} этому некто исполнилось $year\n";
break;
}
}
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7CgokeWVhciA9IDE2OwokYmFuayA9IDEwMDAwOwokcGVyY2VudCA9IDEuMTsKCmZvciAoJHllYXI9MTY7JHllYXIgPDEwMDskeWVhcisrKXsKCWlmKCRiYW5rID09ICRiYW5rICogJHBlcmNlbnQgPjEwMDAwMDApewoJCWVjaG8gItCyINCx0LDQvdC60LUgeyRiYW5rfSDRjdGC0L7QvNGDINC90LXQutGC0L4g0LjRgdC/0L7Qu9C90LjQu9C+0YHRjCAkeWVhclxuIjsKCQlicmVhazsKfQoJCgkKfQkKCQo=