• + 0 comments

    // start c++

    include

    using namespace std; int main() { int a, b; //a> a >> b;//a

            cout << names[i - 1] << "\n";
        }
    }
    if (a>9)
    {
        for (int j = 10; j <= b; j++)
        {
            if (j % 2 == 0)
            {
                cout << "even\n";
            }
            else
            {
                cout << "odd\n";
            }
        }
    
    }
    
    if (a<9&&b>9)
    {
        for (int i = a; i <= 9; i++)//a=5,b=15;
        {
    
            cout << names[i - 1] << "\n";
        }
        for (int j = 10; j <= b; j++)
        {
            if (j % 2 == 0)
            {
                cout << "even\n";
            }
            else
            {
                cout << "odd\n";
            }
        }
    
    }
    
    return 0;
    

    }