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
India Languages,
26 days ago
English,
26 days ago
Social Sciences,
1 month ago
Social Sciences,
8 months ago
English,
8 months ago