运行过了的,OK~!#include <stdio.h>
void main(){ int count,num,a,b; a = 0; b = 1; printf("%d ", b); for (count=0;count<10;count++) { num = a + b; a = b; b = num; printf("%d ",num); }}
#include<stdio.h>main(){ int i,nt,nl,nn; nt=nl=1; printf("%d %d",nl,nt); for(i=0;i<8;i++){ nn=nt+nl; nl=nt;nt=nn; printf(" %d",nn); }}
请问这位兄弟为什么要在最后加个getch();有什么用呢??谢谢