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: (A)
False
You must be Logged in to update hint/solution