Computer Science, asked by Quesitons, 2 days ago

write a boolean expression that evaluates true if either weight or height is greater than 50 or 160 respectively but not both

Answers

Answered by vishwajithk9d
0

Answer:

boolean t= (weight>50 || height>160 )? true:false;

Explanation:

its a java ternary expression

Similar questions