Code:
#include <iostream>
using namespace std;
int main()
{
char Password = 'frogger';
char myPass;
cout<<"enter your password please" << endl;
cin >> myPass;
if(myPass == Password)
{
cout << "successfule log in" << endl;
}
else
{
cout<< "Entered an incorrect password" << endl;
}
system("PAUSE");
return 0;
}
it always returns false, why?
am i doing something wrong?

