#include<iostream>
using namespace std;
int main ()
{
int num;
cout << "Enter the number to be checked : ";
cin >> num;
if (num >= 0)
cout << num << " is a positive number.";
else
cout << num << " is a negative number.";
return 0;
}
// positive negative or zero
#include <iostream>
using namespace std;
int main()
{
int num;
cout<< "Enter the number: ";
cin >> num;
if(num>0)
cout<< "Positive";
else if (num<0)
cout<< "Negative";
else
cout<< "Zero";
return 0;
}