Computer Science, asked by Anonymous, 22 hours ago

Write a program to input a number and print if it’s a positive , negative or neutral number. (java coding )

Answers

Answered by SurajBrainlyStarz
3

Answer:

CheckPositiveOrNegativeExample7.java

public class CheckPositiveOrNegativeExample7.

{

public static void main(String[] args)

{

System.out.println(positiveOrNegative(111));

System.out.println(positiveOrNegative(-444));

}

//method to check the number positive or negative.

Similar questions