• + 0 comments
    int a,b;
    string n[]={"one","two","three","four","five","six","seven","eight","nine"};
    cin>>a>>b;
     for (int i = a; i <= b; i++) {
     if(i<=9){
    
        cout<<n[i-1]<<endl;
     } 
        else{
            if (i % 2 == 0) 
                cout << "even" << endl;
            else 
                cout << "odd" << endl;
        }
    }
    

    return 0;