A
Q. What is the output of the given code?
x=8
y=10
unless x>y
puts "x is less than y"
end
unless x>y+1
puts "x is less than y+1"
end
- Correct Answer - Option(C)
- Views: 17
- Filed under category Ruby
- Hashtags:
Discusssion
Login to discuss.