kananasgarli90

Müsbət, mənfi və sıfır

Oct 17th, 2020
686
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. {
  5.     int n;
  6.     cin>>n;
  7.     if(n > 0){
  8.         cout<<"Positive";
  9.     }
  10.     else if(n == 0){
  11.         cout<<"Zero";
  12.     }
  13.     else{
  14.         cout<<"Negative";
  15.     }
  16. }
RAW Paste Data