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
Math,
4 months ago
Hindi,
4 months ago
Computer Science,
9 months ago
Math,
9 months ago
Science,
1 year ago