• + 0 comments

    include

    void digitnames(int n){ char *digitNames[] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};

    if (n >= 0 && n <= 9)
    {
        printf("%s\n", digitNames[n]);
    
    }
    if (n>=10){
        printf("nine\n");
    }
    

    } void oddeven(int m){ int odd,even; if(m%2==0){ printf("even\n"); }else{printf("odd\n");} } int main() { int digitstore[2]; for (int i = 0; i < 2; i++) { scanf("%d", &digitstore[i]); }

    for (int i = 0; i < 2; i++) {
        digitnames(digitstore[i]);
    }
    
    for (int i = 0; i < 2; i++) {
    

    * oddeven(digitstore[i]); }

    return 0;
    

    }