标签:
public int ganyang(int cun)
{
if (cun == 7)
{
return 2;
}
int sum = (ganyang(cun + 1) + 1) * 2;
return sum;
}
Console.WriteLine(new Program().ganyang(0));
标签:
原文地址:http://www.cnblogs.com/duan594939295/p/4941094.html