• + 0 comments
    int main() 
    {
        char numberStrings[9][20] = {
            "one",
            "two",
            "three",
            "four",
            "five",
            "six",
            "seven",
            "eight",
            "nine"
        };
        int a, b;
        scanf("%d\n%d", &a, &b);
        
        for(int i = a; i <= b; i++ ) {
            if(i > 0 && i <= 9) {
                printf("%s\n", numberStrings[i - 1]);
            } else {
                printf("%s\n", ((i % 2) == 1) ? "odd" : "even");
            }
        }
    
        return 0;
    }