結果 : greatest of three numbers in java using ternary operator