// // P.64 // import java.util.Scanner; class P64 { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print("Input x ? "); double x = input.nextDouble(); if(x>0) System.out.println(x + " is positive"); else if (x<0) System.out.println(x + " is negative"); else System.out.println(x + " is zero"); } }