can I use "not" " ! " on ternary?
<p>it might be a stupid question but can I use "!" on a ternary? </p>

<pre><code>import java.util.Scanner;

public class Detyra1{
    public static void main (String [] args){
        Scanner sc = new Scanner(System.in);
        System.out.print("Write a positive or negative number: ");
        int x = sc.nextInt();
        System.out.print(x + " is a " + (x&gt;=0 ? "Positive":"Negative")+" number ");
    }   
}
</code></pre>

<p>Like when the user types a negative number the output to show " Positive"</p>