I'm working on a project and have a similar loop to the one below where the user inputs several values in the format of a character followed by an integer. I would like to be able to exit this loop when the user simply enters the trailer value 'E'. Is it possible to get out of this loop by ONLY inputting an 'E' instead of an 'E' followed by an integer? 

```
    int main()
{
    char letter;
    int charge;
    do
    {
        cout << "Input letter and charge: ";
        cin >> letter >> charge;
    }while(letter != 'E');
    return 0;
}

```