问题分析:
代码:
#include<stdio.h>
void main(){
int i;
double money = 0.0;
for(i=0;i<5;i++)
money = (money+1000.0)/(1+0.0063*12);
printf("应存入的钱数为:%0.2f\n",money);
}
问题分析:
代码:
#include<stdio.h>
void main(){
int i;
double money = 0.0;
for(i=0;i<5;i++)
money = (money+1000.0)/(1+0.0063*12);
printf("应存入的钱数为:%0.2f\n",money);
}