如何使用for循环或while循环按顺序编写?

#include
#include
void main() {
int i,j,a=0,b=1,n;
clrscr();
printf("****************OUTPUT*****************

");
printf("enter the value of n : ");
scanf("%d",&n);
printf("

the required order is:

" );

for(i=1;i