35657

Untitled

Oct 19th, 2023
726
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.59 KB | None | 0 0
  1.  
  2. #include <iostream>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7.  
  8.     cout << "=================================================================================\n";
  9.     cout << "|\tX\t|\tY\t|\tX AND Y |\tX OR Y  |\tNOT X   |\n";
  10.     cout << "=================================================================================\n";
  11.     cout << "|\t0\t|\t0\t|\t0\t|\t0\t|\t1\t|\n";
  12.     cout << "|\t0\t|\t1\t|\t0\t|\t1\t|\t1\t|\n";
  13.     cout << "|\t1\t|\t0\t|\t0\t|\t1\t|\t0\t|\n";
  14.     cout << "|\t1\t|\t1\t|\t1\t|\t1\t|\t0\t|\n";
  15.     cout << "=================================================================================\n";
  16. }
Advertisement
Add Comment
Please, Sign In to add comment