Hey guys I just wont to know how add the number of attempts that the user has tried to enter the username and password.So if the user enters a wrong username and password three times the program should terminate.
using namespace std;
string pass="23", un="aazir";
cout<<"Enter User Name- "<<endl;
cout<<"Enter Password- ";