猴子吃桃

#include<stdio.h>
main()
{
int day,x1,x2;
day=9;x2=1;
while(day>0)
{
x1=(x2+1)*2;
x2=x1;
day--;
}
printf("The total is %d ",x1);
}

原文地址:https://www.cnblogs.com/flywolf601/p/5865786.html