Advertisement
MeehoweCK

Untitled

Aug 12th, 2019
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.42 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     /* operatory logiczne:
  8.     && AND (koniunkcja)
  9.     || OR (alternatywa)
  10.     ! NOT (przeczenie)
  11.     */
  12.  
  13.     if(5 > 2 || 7 > 8)
  14.     {
  15.         cout << "To zdanie zostanie wypisane na ekran, gdyz warunek z nawiasu jest spelniony (w alternatywie wystarczy, ";
  16.         cout << "aby przynajmniej jeden warunek byl spelniony" << endl;
  17.     }
  18.  
  19.     return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement