└── positiveNegative /positiveNegative: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import java.util.*; 3 | import java.text.*; 4 | import java.math.*; 5 | import java.util.regex.*; 6 | 7 | public class Solution { 8 | 9 | public static void main(String[] args) { 10 | Scanner s=new Scanner(System.in); 11 | int n=s.nextInt(); 12 | if(n>0){ 13 | System.out.println("The Given Number "+ n +" is Positive."); 14 | } 15 | else if(n<0){ 16 | System.out.println("The Given Number "+ n +" is Negative."); 17 | 18 | } 19 | else 20 | { 21 | System.out.println("The Given Number "+ n +" is Zero."); 22 | 23 | } 24 | /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */ 25 | } 26 | } 27 | --------------------------------------------------------------------------------