ill let you be as confused as i am.plz find wat prob isCode:#include <iostream>
using namespace std;
int main()
{
int guess;
cout<<"I am thinking of a number between 1 and 10."<<endl;
cin>>guess;
while(guess!=5)
{
cin.get();
if(guess<5)
{
cout<<"Too low try again"<<endl;cin.get();
}
else if(guess>5)
{
cout<<"Too high, try again"<<endl;cin.get();
}
}
cout<<"Well done"<<endl;
return 0;
}