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

int main()
{
    int i, integer;
    cout << "Please input an integer ";
    cin >> integer;
    for (i = 1; i <= 10; i = i + 1)
        cout << "" << i << " x " << integer << " = " << i * integer;
    cout << endl;
}

```

I am trying to make it display the input integer as eg.

`1 x 4 = 4, 2 x 4 = 8`

Instead I get

`1 x 4 = 42 x 4 = 83`

Not sure what I am doing wrong.