摘要: 课本本来的程序#include<iostream>using namespace std;int main(){ unsigned int a1=0,a2=1,limit=4294967295;while(a1<=limit/2) { cout<<a2<<" "; int sun=a1+a2; a1=a2; a2=sun;}return 0;}运行结果为:1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765 10946 17711 28657 46368 阅读全文
posted @ 2011-06-28 18:52 csqlwy 阅读(1390) 评论(0) 推荐(0) 编辑