|
int a = 7, b = 21; a > b ? a : b ; A good answer might be:The expression is evaluated to 21. |
MaximumThe expression found the maximum of two variables:
Other than the blank, the program is correct. The entire expression counts as one value, so that value can be used with the concatenation operator "+" in the println.int a = 7, b = 21; System.out.println( "The min is: " + (a _________ b ? a : b ) ); |
QUESTION 3:Fill in the blank so that the program fragment works correctly. Click Here after you have answered the question |