πŸ“Š Ruby
Q. What is the output of the given code?
variable = false
if variable
print "false"
elsif !variable
print "true"
end
  • (A) False
  • (B) greater
  • (C) Syntax error
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) greater

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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