老鼠

来源:互联网 发布:北大青鸟 java就业班 编辑:程序博客网 时间:2024/04/28 00:45
#include <stdio.h>


int main(viod){
int old = 2, first = 0, second = 0, third = 0,i = 0,count = 0;
for (i = 0; i < 20; i++)
{
old = old + third;
third = second;
second = first;
first = old;
}
count = old + first + second + third;
printf("%d\n",count);
system("pause");

}

大笑

原创粉丝点击