Advertisement
alex326

Untitled

Jan 28th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. problema 167
  2.  
  3. #include <iostream>
  4. using namespace std;
  5. int main()
  6. {
  7. int n;
  8. cin>>n;
  9. if (n==0)
  10. cout<<"nul";
  11. if (n>0)
  12. cout<<"pozitiv";
  13. if (n<0)
  14. cout<<"negativ";
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement