Answer:
The answer is "Always true
"
Explanation:
Following are the program to this question:
#include <iostream>//header file
using namespace std;
int main()//main method
{
bool x=true;//defining bool variable x and assign value
bool y=false;//defining bool variable y and assign value
if(!(x || y) || (x || y))//use given condition with if block
{
cout<<"True";//print true message
}
else//defining else block
{
cout<<"false";//print false message
}
return 0;
}
In the above code two bool variable is declared, that hold ture and false, and used in the given expression with the condition statement, that checks the given value. In the code the logical gate OR gate that always print the true value.