Computer Science, asked by atharvtiwari01, 1 month ago

Write a Java program to find positive or
Negative Number​

Answers

Answered by Rajkd180203
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