最佳存款方案
#include <stdio.h>
int main()
{
double money = 0;
int i;
for (i = 1; i <= 5; i++)
{
money =(money + 1000) / (1 + 12 * 0.0063);
}
printf("%0.2f", money);
return 0;
}
```![](https://img2023.cnblogs.com/blog/3168003/202304/3168003-20230419164302694-873098442.png)