Ruby - Operators and Expressions
Find the problem in this Ruby ternary expression:
value = 10 result = value > 5 ? "High" : "Low" puts result
value = 10 result = value > 5 ? "High" : "Low" puts result
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions