1 solutions

  • 0
    @ 2023-7-27 14:36:35
    #include <bits/stdc++.h>
    using namespace std;
    int main()
    {
        int n;
        cin>>n;
        if(n>0)
        {
        cout<<"positive"<<endl;
        }
        else if(n==0)
        {
        cout<<"zero"<<endl;
        }
        else
        {
            cout<<"negative"<<endl;
        }
    
    • 1

    Information

    ID
    544
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    4
    Tags
    # Submissions
    155
    Accepted
    52
    Uploaded By