新鸟求助!运行居然是空白.郁闷了哦
int main(){
double amount;
double zijin = 1000.0;
double lixi= .05;
int year;
printf ("%4s%21s\n","Year", "Amount on deposit");
for (year=1; year<=10; year++){
amount = zijin * pow(1.0+lixi, year);
printf ("%4f%21.2f\n",year, amount );
}
getch();
}