0

```
int game = 3;
int ckenonum;
const int hkenostore = 4;
int hkeno[hkenostore];
const int ckenostore = 4;
int ckeno[ckenostore] = {1,2,3,4};
bool kenopass = false;
for(int hkenostore = 1; hkenostore<4; hkenostore++)
{
do{
cout<<"Please enter a unique number between 1 and 15 (" << hkenostore << " of 3)\n";
cin>>hkeno[hkenostore];
if(hkenostore>=2)
if(hkeno[1] == hkeno[2] || hkeno [1] == hkeno[3] || hkeno[2] == hkeno[3])
cout<<"You can't have same numbers! Please enter a different one...\n";
else if(hkeno[hkenostore] >= 1 && hkeno[hkenostore] <= 15)
kenopass = true;
else
{
cout<<"Invalid Input! Please Try Again!\n";
cin.clear();
cin.ignore();
}
}while(kenopass != true);
}
```

I'm having issues with getting the input to read properly. Ideally, when user inputs a number into [1], then into [2], if they are equal should ask for 2 again, and so on with [2] and [3] and [1] and [3]. But it seems to be stuck on [1] regardless of any integer input. Any pointers?