daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Nov 22nd, 2017 57 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.    if(n<0)
  7.         cout<<"-1";
  8.     else if(n==0)
  9.         cout<<"0";
  10.     else
  11.         cout<<"1";
  12.  
  13.     return 0;
  14.  
  15. }
RAW Paste Data
Top