Advertisement
MeehoweCK

Untitled

Apr 16th, 2021
1,018
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. /*
  6. operatory logiczne:
  7. && AND  (koniunkcja)
  8. || OR   (alternatywa)
  9. ! NOT   (zaprzeczenie)
  10. */
  11.  
  12. int main()
  13. {
  14.     if (7 > 5 && 12 > 20)
  15.         cout << "ten tekst nie zostanie wypisany na ekran\n";
  16.     if (10 < 8 || 100 > 2)
  17.         cout << "ale ten tak\n";
  18.     return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement