$sum = 10000;$max_sum = 1000000; for($i=0; $sum<=$max_sum; $i++) $sum += $sum*0.1; echo "$i\n";
Standard input is empty
49
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!