πŸ“Š Ruby
Q. What is the output of the given code?
x=7
y=9
if x==y
print "equal"
elsif x>y
print "greater"
else
print "less"
end
  • (A) equal
  • (B) true
  • (C) less
  • (D) none of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) less

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
96
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
82%
Success Rate