#include<stdio.h>
void main()
{ enum season {spring=1,summer,autumn,winter}s;
for(s=spring;s<=winter;s++)
printf("%d\n",s);
}
本文共 167 字,大约阅读时间需要 1 分钟。
#include<stdio.h>
void main()
{ enum season {spring=1,summer,autumn,winter}s;
for(s=spring;s<=winter;s++)
printf("%d\n",s);
}
转载于:https://blog.51cto.com/c10086/1413760