<?php

error_reporting(-1);

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