Advertisement
MeehoweCK

Untitled

Jul 31st, 2018
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     /* operatory logiczne
  8.     && AND
  9.     || OR
  10.     ! przeczenie
  11.     */
  12.  
  13.     if(5 > 0 && 10 > 20)
  14.         cout << "oba warunki zostaly spelnione" << endl;
  15.     else
  16.         cout << "ktorys z warunkow nie zostal spelniony" << endl;
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement