1 solutions

  • 0
    @ 2024-7-15 20:51:53
    #include <bits/stdc++.h>
    using namespace std;
    int main(){
    	int  a;
    	cin>>a;
    	if(a>0) cout<<"positive";
    	if(a==0) cout<<"zero";
    	if(a<0) cout<<"negative";
    	return 0;
    }
    
    • 1

    Information

    ID
    6879
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    1
    Tags
    # Submissions
    11
    Accepted
    8
    Uploaded By