Question: please help with this code. i'm having trouble finding the right expression #include using namespace std; int main() { bool x, y, z; cout <
please help with this code. i'm having trouble finding the right expression
#include
using namespace std;
int main() { bool x, y, z; cout << "Enter 0 or 1 values for x, y, and z: "; cin >> x >> y >> z; bool value = false; //write an expression that makes the truth value always false cout << x << " AND " << y << " AND " << z << " = " << value << endl;
cout << endl; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
