• + 0 comments
    #include <stdio.h>
    #include <string.h>
    #include <math.h>
    #include <stdlib.h>
    
    
    
    int main() 
    {
        int a, b;
        scanf("%d\n%d", &a, &b);
      	// Complete the code.
        char *number[] = {"one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};
        char *evenness[] = {"even", "odd"};
        
        for(int i = a; i < b+1; i++) printf("%s\n", (i < 10) ? number[i-1] : evenness[i % 2]);
    
        return 0;
    }