<?php
 
error_reporting(-1);
 
for ($investorAge = 16, $bill = 10000; $bill <= 1000000; $investorAge++){
	$bill *= 1.1;
};
echo "Age: $investorAge\n";
echo "Bill: $".round($bill, 0)."\n";
echo "Bill age: ".($investorAge-16)."\n";