Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- cout << "=================================================================================\n";
- cout << "|\tX\t|\tY\t|\tX AND Y |\tX OR Y |\tNOT X |\n";
- cout << "=================================================================================\n";
- cout << "|\t0\t|\t0\t|\t0\t|\t0\t|\t1\t|\n";
- cout << "|\t0\t|\t1\t|\t0\t|\t1\t|\t1\t|\n";
- cout << "|\t1\t|\t0\t|\t0\t|\t1\t|\t0\t|\n";
- cout << "|\t1\t|\t1\t|\t1\t|\t1\t|\t0\t|\n";
- cout << "=================================================================================\n";
- }
Advertisement
Add Comment
Please, Sign In to add comment