<?php
$ye=0;
for ($i=10000; $i<=1000000; $i*=1.1)
{
$ye++;
if($i>=1000000)
{
echo "Миллион накопится примерно за $ye лет.";
}
}
PD9waHAKJHllPTA7CmZvciAoJGk9MTAwMDA7ICRpPD0xMDAwMDAwOyAkaSo9MS4xKQp7CiR5ZSsrOwppZigkaT49MTAwMDAwMCkKCXsKCQllY2hvICLQnNC40LvQu9C40L7QvSDQvdCw0LrQvtC/0LjRgtGB0Y8g0L/RgNC40LzQtdGA0L3QviDQt9CwICR5ZSDQu9C10YIuIjsKCX0KfQ==