Read the if program segment given below:
if (a > b) z = 25; else z = 35;
Which one of the following is the correct conversion of the if segment to ternary?