//this is a program to find whether the number is positive negative or zero
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int num;
cout<<"\n\nEnter the number: ";
cin>>num;
if(num>0)
cout<<"\n\nThe entered number is a Positive number";
else if(num<0)
cout<<"\n\nThe entered number is a negative number";
else
cout<<"\n\nThe entered number is zero";
getch();
}
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int num;
cout<<"\n\nEnter the number: ";
cin>>num;
if(num>0)
cout<<"\n\nThe entered number is a Positive number";
else if(num<0)
cout<<"\n\nThe entered number is a negative number";
else
cout<<"\n\nThe entered number is zero";
getch();
}