#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
int i = 0;
int t= 1;
for (i = 1; i <10; i++)
{
t = 2 * (t + 1);
}
printf("猴子第一天摘桃数为:%d\n", t);
system("pause");
return 0;
}
本文出自 “零点时光” 博客,请务必保留此出处http://10741764.blog.51cto.com/10731764/1708440
原文:http://10741764.blog.51cto.com/10731764/1708440