Computer Science, asked by sattusingh010181, 2 months ago

write a program of print if statement in java​

Answers

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