Computer Science, asked by manshthakur, 16 days ago

if(number>0) [ 2]

{

System.out.println("POSITIVE");

}

else if(number<0)

{

System.out.println("NEGATIVE");

}

Else

{

System.out.println("ZERO");

} ​

Answers

Answered by vr106367
0
First case: If you have taken number as 2, then the output will be Positive. Second case: If number is 2 then the output will be ZERO. PLEASE MARK ME AS BRAINLIEST!!!
Similar questions