Computer Science, asked by bonstyshristi, 6 months ago

PLZ WRITE THIS PROGRAM

NO ​

Attachments:

Answers

Answered by zfgulzar
0

Answer:

a)

class Negative_or_positive

{

public static void main(String Args [])

{

int n = 20;

if(n/2==o)

{

System.out.prntln("Positive");

}

else

{

System.out.println("Negative");

}

}

}

Similar questions