16.

 #include <stdio.h>

 int main()
{
double remain = 100.0;
int years=;
while(remain>)
{
remain = remain * 0.08 + remain - 10.0;
printf("%f \t", remain);
printf("years:%d \n", years);
years++;
}
printf("一共可以取:%d 年", years); getchar();
return ;
}
04-24 18:01