Line 34 and 35 won't execute unless I insert them into the for loop.
#include <iostream>
using namespace std;
int main()
{
cout<<"Please enter an integer.\n";
int intege;
int integ;
for ( int inte = 1; inte = 1; )
{
cin>> intege;
cin.ignore();
cout<<"Please enter it again.";
cin>> integ;
cin.ignore();
if (intege==integ)
{
inte=0;
cout<<"Thank You, please hit enter to end the program."<<endl;
}
else
{
inte=1;
cout<<"Your inputs don't quite seem to match. Please type them again."<<endl;
}
}
cout<<"uglypeople\n";
return(0);
}