daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Nov 22nd, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. using namespace std;
  3. int n;
  4. int main ()
  5.  
  6. {
  7.  
  8.    if(n<0) cout<<"-1";
  9. {
  10.    return 0;
  11. }
  12. {
  13.    if(n=0) cout<<"0";
  14.    return 0;
  15. }
  16.    if(n>0) cout<<"1";
  17.  
  18. }
RAW Paste Data
Top