摘要: #includevoid main(){ int i,j,n; printf("请输入 n:\n"); scanf("%d",&n); for(i=0;i0;j--) { printf(" ");/*第一次打空格*/ } printf("*");/*打印第一个'*'号*/ for... 阅读全文
posted @ 2014-08-16 22:49 zhouhaiou 阅读(310) 评论(0) 推荐(0) 编辑
摘要: #include void main(){ int i=0,old=2,first=0,second=0,third=0,sum=0; for(i=0;i<20;i++) { old=old+third; third=second; second=first; first=old; ... 阅读全文
posted @ 2014-08-16 22:46 zhouhaiou 阅读(307) 评论(0) 推荐(0) 编辑