标签:
#include<stdio.h>
#include<stdlib.h>
int main()
{
int n,i=1;
scanf("%d",&n);
for(i=1;i<=n;)
{
printf("%d ",i);
i=i+2;
}
printf("\n");
for(i=2;i<=n;)
{
printf("%d ",i);
i=i+2;
}
return 0;
}
标签:
原文地址:http://www.cnblogs.com/woderenshengluwozijizou/p/4429826.html