• + 0 comments

    Good Code

    #include<stdio.h>
    
    int main() {
        int n,b;
    
        scanf("%d", &n);
        scanf("%d", &b);
    
        for (int i = n;i <= b; i++ ){
            printf((i==1)?"one": (i==2)?"two":(i==3)?"three"
            :(i==4)?"four":(i==5)?"five":(i==6)?"six"
            :(i==7)?"seven":(i==8)?"eight":(i==9)?"nine"
            : (i%2==0)?"even":"odd");
            printf("\n");
        }
    
        return 0;
    
    }