write a program of print if statement in java
Answers
Answered by
0
Answer:
public class PositiveNegativeExample
{
public static void main(String[] args) {
int number=-13;
if(number>0){
System. out. println("POSITIVE");
}else if(number<0){
System. out. println("NEGATIVE");
}else{
Similar questions