Here is a program where I enter a sentence and print it backward...

```
#include<iostream>
#include<string>
using namespace std;

int main(int argc, char* argv[]) {
    string scrambleWords;
    cout << "Please enter a sentence to scramble: ";
    getline(cin, scrambleWords);

    for (int print = scrambleWords.length() - 1; print >= 0; print--)
    {
        if (isspace(scrambleWords[print]))
        {
            for (unsigned int printIt = print + 1; 
                         printIt < scrambleWords.length(); printIt++)
            {
                cout << scrambleWords[printIt];
                if (isspace(scrambleWords[printIt]))
                    break;
            }
        }
    }

    for (unsigned int gotIt = 0; gotIt < scrambleWords.length(); gotIt++)
    {
        cout << scrambleWords[gotIt];
        if (isspace(scrambleWords[gotIt]))
            break;
    }
    cout << endl;
}

// OUTPUT
// Please enter a sentence: birds and bees
// beesand birds
// Press any key to continue . . .

```

As you can see there was no space between bees & birds, so how can I add the space in there?