πŸ“Š Ruby
Q. What is the output of the given code?
a=10
b=9
if(a>b)
print ("a greater than b")
else
print "Not greater"
end
  • (A) a greater than b
  • (B) Not greater
  • (C) Syntax error
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) a greater than b

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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