Ruby - Methods
Given this method, what will be the return value?
def check_value(val)
if val > 10
"High"
else
"Low"
end
end
check_value(10)def check_value(val)
if val > 10
"High"
else
"Low"
end
end
check_value(10)15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions