<?php
$percent  = 1.1;
$age = 16;
$year = 0;

for ($ballance = 10000; $ballance >= 1000000; $ballance = $ballance * $percent) {
	if ($ballance >= 1000000) {
		echo "Некто заработает {$ballance},за  {$year} лет, ему на тот момент будет.{$age}";
		break;
	}
	$year++;
	$age++;
}