This program will tell you either a number is Positive or Negative in C plus plus. After input a number a message will display which shows number is Positive or Negative.

Find Number is Positive or Negative

#include <iostream>
using namespace std;

int main()
{
int number; //variable to store input value

cout<<"Enter a number \n";
cin>>number;

if(number>0)

cout<<"Number is Positive\n";
else
cout<<"Number is Negative\n";

return 0;
}