错误出现在英文版。

28 while (balance > goal)
29 {
30 // add this year's payment and interest
31 balance += payment;
32 double interest = balance * interestRate / 100;
33 balance += interest;
34 years++;
35 }

正确是while (balance < goal)。 中文版是正确的。