Computer Science, asked by harammi, 9 months ago

The following java program checks if a given number is positive or not:
Complete the program to get the output
class Operator
{ public static void main()
{ double number = -5.5;
_____ result;
result = (_________) ? “positive”________;
System.out.println(_______+ " is " + result);
}}

Answers

Answered by Anonymous
2

5.5 is your answer mate.....

Similar questions