Code
#include<stdio.h>enum year{Jan, Feb, Mar, Apr, May, Jun, Jul,Aug, Sep, Oct, Nov, Dec};int main(){int i;for (i=Jan; i<=Dec; i++)printf("%d\n", i);return 0;}
Output
#include<stdio.h>enum year{Jan, Feb, Mar, Apr, May, Jun, Jul,Aug, Sep, Oct, Nov, Dec};int main(){int i;for (i=Jan; i<=Dec; i++)printf("%d\n", i);return 0;}
0 Comments
Post a Comment