3. Write a Java program to check whether a number is negative, positive or zero. Solution :- Static class posnegzero { public static void main(String args[]) { int no1=-0; if(no1 >0) { System.out.println("The number is Positive:- "+no1); } else if(no1 < 0) { System.out.println("The number is Negative :- "+no1); } else { System.out.println("The number is Zero :- "+no1); } } } Output :- Dynamic Solu...
All computer course for class 9th to 12th with proper practical and theory .........