error: lvalue required as left operand of assignment, I GOT THIS ERROR WHAT IS lvalue and rvalue and how to remove this error : I got this error in my code while compiling
here is the code

    #include <iostream>
    using namespace std;
    int main()
    {
        int l,n,w,h;
        cin>>l>>n;
        while(n--){
        	cin>>w>>h;
    	    if(w>l||h>l)
        		cout<<"CROP IT"<<endl;
        	if(w==l&&h==l&&w=h)
    		    cout<<"ACCEPTED"<<endl;
    	    if(w<l||h<l)
    	    	cout<<"UPLOAD ANOTHER"<<endl;
        }
    }



and the error
11:22: error: lvalue required as left operand of assignment