Q. What is the output of the code?
variable=true
if variable
puts "true"
else
puts "false"
end
variable=true
if variable
puts "true"
else
puts "false"
end
β
Correct Answer: (B)
True
You must be Logged in to update hint/solution