#include using namespace std; int x, y; // This assignment is worth 3 points. int main() { cout << "Enter two values in base 10: "; cin >> x >> y; cout << "NAND: " << ~(x & y) << endl; // NOT applied to AND for NAND cout << "NOR: " << ~(x | y) << endl; // NOT applied to OR for NOR cout << "XNOR: " << ~(x ^ y) << endl; // NOT applied to XOR for XNOR return 0; }