Write a Java program to find positive or
Negative Number
Answers
Answered by
0
Answer:
I will use buffered reader here
i=Integer.parseInt(br.readLine())
if(I>0)
System.out.println("Positive");
if(i<0)
System.out.println("Negative");
Explanation:
Similar questions
Math,
21 days ago
Math,
21 days ago
Science,
21 days ago
Social Sciences,
1 month ago
Social Sciences,
8 months ago
English,
8 months ago