image

2 comments

  • @ 2024-10-25 21:48:37

    #include <bits/stdc++.h> using namespace std;

    int main; { int n; cin >> n;

    if (n > 0 )
    {
        cout << "postive" << endl;
    }
    else if(n < 0 )
    {
        cout << "negative" << endl; 
    }
    else(n = 0 )
    {
    	cout<<"zero"<<endl;
    }
    return 0
    

    }

    • 1