0% found this document useful (0 votes)
8 views1 page

Java Application 98: Number Sign Checker

The document contains a Java program that reads an integer input from the user. It checks whether the input is positive, negative, or neutral and prints the corresponding message. The program uses a Scanner for input and includes basic conditional statements for the checks.

Uploaded by

lucifer666b666
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Java Application 98: Number Sign Checker

The document contains a Java program that reads an integer input from the user. It checks whether the input is positive, negative, or neutral and prints the corresponding message. The program uses a Scanner for input and includes basic conditional statements for the checks.

Uploaded by

lucifer666b666
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

/*

* To change this license header, choose License Headers in Project Properties.


* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javaapplication98;
import [Link];
/**
*
* @author LAB-A
*/
public class JavaApplication98 {

/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Scanner Sc = new Scanner([Link]);
int X=[Link]();
if(X>0){
[Link]("Positive");

}
else if(X<0) {[Link]("Negtive");}
else{
[Link]("Neutral");

}}

You might also like