int i;
int n1 = 1, n2 = 1, temp;
for (i = 2; i < 40; i++)
{
temp = n2;
n2 += n1;
n1 = temp;
}
Console.WriteLine("第 30 个数为:" + n2);
Console.ReadLine();