What will $future_value contain after the for loop that follows has been executed one time?

What will $future_value contain after the for loop that follows has been executed one time?



Answer:

$years = 10;
$annual_rate = 10;
$future_value = 1000;
$annual_rate = $annual_rate / 100;>br>for ($i = 1; $i <= $years; $i++ ) {
$future_value = $future_value * (1 + $annual_rate);
}
1100


Learn More :