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
English,
1 month ago
English,
1 month ago
Social Sciences,
1 month ago
Social Sciences,
3 months ago
Social Sciences,
10 months ago
English,
10 months ago