JakubKaczmarek_123

zadanie 1

Nov 2nd, 2020
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. int x;
  5. int main()
  6. {
  7.   cout << "wprowadz liczbe calkowita: " << endl;
  8.   cin >> x;
  9.   if (x > 0) cout <<"kot"<<endl;
  10.   else cout << "pies" << endl;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment