#include<stdio.h>
main()
{
int  i=9,t=1;
while(i>0)
{
t=(t+1)*2;
i--;/*while中循环变量迭代语句要写在循环体内*/
}
printf("桃子总数是：%d\n",t);
}





#include<stdio.h>
main()
{
int  i=9,t=1;
do{
t=(t+1)*2;
i--;
} while(i>0);
printf("桃子总数是：\n",t);
}
