Posts by Eudes Moreira • 1 point
1 post
-
0
votes0
answers33
viewsQ: Can I place a ternary operator inside another ternary in java?
I can place a ternary operator inside another ternary in java? (num1 == num2)? System.out.println("Type different numbers! " ):larger = (num1 > num2)? num1:num2;
javaasked Eudes Moreira 1