When I press enter after the execution of the code, it doesn't terminate and tell me the process time etc. it just skips a line.
#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;
}
}
}