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
2
5.5 is your answer mate.....
Similar questions
Biology,
5 months ago
Math,
5 months ago
Computer Science,
10 months ago
Math,
10 months ago
Science,
1 year ago