Ad

or,xor and and are C++ keyword.they can be using as ||,~ and &&.

Code
Diff
  • bool Or(bool a, bool b){
    	return a or b;
    }
    
    bool Xor(bool a, bool b){
    	return a xor b;	
    }
    
    bool And(bool a, bool b){
    	return a and b;
    }
    
    • bool Or(bool a, bool b){
    • return a + b;
    • return a or b;
    • }
    • bool Xor(bool a, bool b){
    • return a != b;
    • return a xor b;
    • }
    • bool And(bool a, bool b){
    • return a * b;
    • return a and b;
    • }