Write a program to input any number from the user and print whether it is positive or negative. QB64
PLEASE GIVE CLASS 6 EXPLANATION
Answers
Answered by
0
Answer:
class Number
{void main(int n)
{
if (n>0)
System.out.println(" it's a positive number");
else if (n<0)
System.out.println ("it's a negative number");
}}
Similar questions