#include <iostream>
using namespace std;
int main ()
{
int num;
cout<<"PLEASE ENTER A NUMBER : ";
cin>>num;
if (num > 0)
{
cout<<num<<" IS POSITIVE NUMBER"<<endl;
}
else if (num < 0)
{
cout<<num<<" IS NEGATIVE NUMBER"<<endl;
}
else if (num == 0)
{
cout<<num<<" IS ZERO"<<endl;
}
return 0;
}
OUTPUT
No comments