#include <iostream>
using namespace std;
int main()
{
const int password=123;
const string username = "abc";
int pass;
string user;
cout<< "Enter your username"<<endl;
cin>>user;
cout<< "Enter your Password"<<endl;
cin>>pass;
if (pass==password) && (user==username)
{
cout<< "Access Granted"<<endl;
}
else{
cout<< "username And Password Incorrect"<<endl;
}
cout << "Hello world!" << endl;
return 0;
}
it says there is a problem with the if statement