I need help to understand this problem.
Code:#include <iostream>
using namespace std;
int main ()
{
int password;
cout<<"Password: ";
cin>> password;
cin.ignore();
if (password == 100) {
cout<<"Access cleared\n";
}
else {
cout<<"Access denied\n";
}
cin.get();
}