Write a program to input a number and print if it’s a positive , negative or neutral number. (java coding )
Answers
Answered by
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
Psychology,
11 hours ago
Geography,
11 hours ago
Math,
22 hours ago
English,
8 months ago
Physics,
8 months ago
Social Sciences,
8 months ago