Check Positive Or Negative Value

in Hindi - Check Positive Or Negative Value



not yet

Source Code :

RUN#include <iostream>
using namespace std;

int main()
{
int num;
cout<<"Enter a number: ";
cin>>num;

if (num==0)
{
cout<<"You entered zero .";
}
else if (num>=0)
{
cout<<"You entered positive number .";
}
else{
cout<<"you entered negative number .";
}
return 0;
}