**Java Program to Find Number is Positive or Negative**

This topic demonstrates about how to check the given number is either positive number or negative number using java program.

**Positive Number : **

A positive number is a number that is bigger than zero. Zero is also called as Natural or Positive number.

Positive Numbers are written with a plus (+) symbol or just a number without any symbol as shown in below positive number line.

**Negative Number : **

A negative number is a real number that is less than zero. They represent opposite.

Negative numbers are usually written with a minus sign. As shown in below Negative number line

**Positive Negative Number Line**

**Program Example**

**Program to check entered number is Positive Number or Negative Number**

import java.util.Scanner;
public class PositiveNegativeEx
{
public static void main(String[] args)
{
int number;
Scanner scan = new Scanner(System.in);
System.out.print("Enter any number : ");
number = scan.nextInt();
if(number == 0)
System.out.print(number+" is Natural or Positive Number");
else if(number > 0)
System.out.print(number+" is Positive Number");
else
System.out.print(number+" is Negative Number");
}
}

**Output**

Enter any number : -55

-55 is Negative Number