Determining whether a number is positive, negative, or zero

Report a typo

You get a number from the user. If the number is positive, print 'Positive'. If it is negative, print 'Negative'. If it is zero, print 'Zero'.

Sample Input 1:

5

Sample Output 1:

Positive

Sample Input 2:

0

Sample Output 2:

Zero
Write a program in Java 17
import java.util.Scanner;

public class Main {
public static void main(String[] args) {

Scanner scanner = new Scanner(System.in);
int number = scanner.nextInt();

// Your code here

scanner.close();
}
}
___

Create a free account to access the full topic